aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-header-serde/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'pingora-header-serde/src/lib.rs')
-rw-r--r--pingora-header-serde/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pingora-header-serde/src/lib.rs b/pingora-header-serde/src/lib.rs
index 73b9b29..e78897a 100644
--- a/pingora-header-serde/src/lib.rs
+++ b/pingora-header-serde/src/lib.rs
@@ -131,7 +131,7 @@ fn resp_header_to_buf(resp: &ResponseHeader, buf: &mut Vec<u8>) -> usize {
}
// Should match pingora http1 setting
-const MAX_HEADERS: usize = 160;
+const MAX_HEADERS: usize = 256;
#[inline]
fn buf_to_http_header(buf: &[u8]) -> Result<ResponseHeader> {