]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
strip proxy-connection
authorwessels <>
Tue, 26 Nov 1996 02:41:00 +0000 (02:41 +0000)
committerwessels <>
Tue, 26 Nov 1996 02:41:00 +0000 (02:41 +0000)
src/http.cc

index 5f7bc0c2378663b5d085a539ddafc32a518d7734..719db66b824a2b32d1a057d16253e943d3f7de88 100644 (file)
@@ -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)