From: hno <> Date: Fri, 4 Oct 2002 20:00:22 +0000 (+0000) Subject: Adjusted two more calls to httpBuildRequestHeader() to not use a client X-Git-Tag: SQUID_3_0_PRE1~708 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7845157247776548847e1d4f778959f86937bd1;p=thirdparty%2Fsquid.git Adjusted two more calls to httpBuildRequestHeader() to not use a client filedescriptor --- diff --git a/src/htcp.cc b/src/htcp.cc index d422d3d723..01994d2c10 100644 --- a/src/htcp.cc +++ b/src/htcp.cc @@ -1,6 +1,6 @@ /* - * $Id: htcp.cc,v 1.41 2002/08/09 10:57:43 robertc Exp $ + * $Id: htcp.cc,v 1.42 2002/10/04 14:00:22 hno Exp $ * * DEBUG: section 31 Hypertext Caching Protocol * AUTHOR: Duane Wesssels @@ -917,7 +917,7 @@ htcpQuery(StoreEntry * e, request_t * req, peer * p) stuff.S.method = (char *) RequestMethodStr[req->method]; stuff.S.uri = (char *) storeUrl(e); stuff.S.version = vbuf; - httpBuildRequestHeader(req, req, e, &hdr, -1, flags); + httpBuildRequestHeader(req, req, e, &hdr, flags); memBufDefInit(&mb); packerToMemInit(&pa, &mb); httpHeaderPackInto(&hdr, &pa); diff --git a/src/ssl.cc b/src/ssl.cc index ace89d11b8..a77f539f60 100644 --- a/src/ssl.cc +++ b/src/ssl.cc @@ -1,6 +1,6 @@ /* - * $Id: ssl.cc,v 1.122 2002/09/15 06:40:57 robertc Exp $ + * $Id: ssl.cc,v 1.123 2002/10/04 14:00:22 hno Exp $ * * DEBUG: section 26 Secure Sockets Layer Proxy * AUTHOR: Duane Wessels @@ -543,7 +543,6 @@ sslProxyConnected(int fd, void *data) sslState->request, NULL, /* StoreEntry */ &hdr_out, - sslState->client.fd, flags); /* flags */ packerToMemInit(&p, &mb); httpHeaderPackInto(&hdr_out, &p); diff --git a/src/tunnel.cc b/src/tunnel.cc index ba497553a8..e509466604 100644 --- a/src/tunnel.cc +++ b/src/tunnel.cc @@ -1,6 +1,6 @@ /* - * $Id: tunnel.cc,v 1.122 2002/09/15 06:40:57 robertc Exp $ + * $Id: tunnel.cc,v 1.123 2002/10/04 14:00:22 hno Exp $ * * DEBUG: section 26 Secure Sockets Layer Proxy * AUTHOR: Duane Wessels @@ -543,7 +543,6 @@ sslProxyConnected(int fd, void *data) sslState->request, NULL, /* StoreEntry */ &hdr_out, - sslState->client.fd, flags); /* flags */ packerToMemInit(&p, &mb); httpHeaderPackInto(&hdr_out, &p);