We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bf551b commit 54238b2Copy full SHA for 54238b2
src/http.rs
@@ -498,7 +498,7 @@ pub fn read_http_version<R: Reader>(stream: &mut R) -> HttpResult<HttpVersion> {
498
}
499
500
const MAX_HEADER_NAME_LENGTH: usize = 100;
501
-const MAX_HEADER_FIELD_LENGTH: usize = 1000;
+const MAX_HEADER_FIELD_LENGTH: usize = 4096;
502
503
/// The raw bytes when parsing a header line.
504
///
0 commit comments