From cb3127cc1d1e8f3a6db20e7d59f158fdddecb48b Mon Sep 17 00:00:00 2001 From: Christof Weickhardt Date: Tue, 12 Apr 2022 22:05:00 +0000 Subject: [PATCH] feat: udpate hop headers list --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 72c159e..952b6b1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -112,10 +112,11 @@ lazy_static! { static ref CONNECTION_HEADER: HeaderName = HeaderName::from_static("connection"); static ref UPGRADE_HEADER: HeaderName = HeaderName::from_static("upgrade"); // A list of the headers, using hypers actual HeaderName comparison - static ref HOP_HEADERS: [HeaderName; 8] = [ + static ref HOP_HEADERS: [HeaderName; 9] = [ CONNECTION_HEADER.clone(), TE_HEADER.clone(), HeaderName::from_static("keep-alive"), + HeaderName::from_static("proxy-connection"), HeaderName::from_static("proxy-authenticate"), HeaderName::from_static("proxy-authorization"), HeaderName::from_static("trailer"),