From: wessels <> Date: Tue, 26 Nov 1996 02:41:00 +0000 (+0000) Subject: strip proxy-connection X-Git-Tag: SQUID_3_0_PRE1~5396 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c5a561bbbd3de6cbd770192ebf6626795e99d3e;p=thirdparty%2Fsquid.git strip proxy-connection --- diff --git a/src/http.cc b/src/http.cc index 5f7bc0c237..719db66b82 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,5 +1,5 @@ /* - * $Id: http.cc,v 1.116 1996/11/25 18:50:29 wessels Exp $ + * $Id: http.cc,v 1.117 1996/11/25 19:41:00 wessels Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -664,6 +664,8 @@ httpSendRequest(int fd, void *data) if (httpState->req_hdr) { /* we have to parse the request header */ xbuf = xstrdup(httpState->req_hdr); for (t = strtok(xbuf, crlf); t; t = strtok(NULL, crlf)) { + if (strncasecmp(t, "Proxy-Connection:", 17) == 0) + continue; if (strncasecmp(t, "Connection:", 11) == 0) continue; if (strncasecmp(t, "Host:", 5) == 0)