From: Amos Jeffries Date: Wed, 20 Mar 2013 22:53:18 +0000 (-0600) Subject: Update Key header resgistration X-Git-Tag: SQUID_3_4_0_1~226 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0a1711430f9129126eebe1812708d549bdc0c18;p=thirdparty%2Fsquid.git Update Key header resgistration * Key header is currently defined as a response-only header. * Key header contains a list of values which MAY be split across multiple header lines. --- diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index 9c50309dde..fdfa8ac0c9 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -188,6 +188,7 @@ static http_hdr_type ListHeadersArr[] = { HDR_CONNECTION, HDR_EXPECT, HDR_IF_MATCH, HDR_IF_NONE_MATCH, + HDR_KEY, HDR_LINK, HDR_PRAGMA, HDR_PROXY_CONNECTION, HDR_PROXY_SUPPORT, @@ -232,6 +233,7 @@ static HttpHeaderMask ReplyHeadersMask; /* set run-time using ReplyHeaders */ static http_hdr_type ReplyHeadersArr[] = { HDR_ACCEPT, HDR_ACCEPT_CHARSET, HDR_ACCEPT_ENCODING, HDR_ACCEPT_LANGUAGE, HDR_ACCEPT_RANGES, HDR_AGE, + HDR_KEY, HDR_LOCATION, HDR_MAX_FORWARDS, HDR_MIME_VERSION, HDR_PUBLIC, HDR_RETRY_AFTER, HDR_SERVER, HDR_SET_COOKIE, HDR_SET_COOKIE2, HDR_ORIGIN,