From: wessels <> Date: Mon, 20 Jul 1998 22:27:08 +0000 (+0000) Subject: copy request_t->flags when building a new request_t from the original X-Git-Tag: SQUID_3_0_PRE1~3045 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23e8446b1dd33e87093da2b1bef6ddd569804e90;p=thirdparty%2Fsquid.git copy request_t->flags when building a new request_t from the original one! (Arjan de Vet) --- diff --git a/src/http.cc b/src/http.cc index 98c5a1a491..9db213de4e 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,6 +1,6 @@ /* - * $Id: http.cc,v 1.294 1998/07/18 07:43:04 wessels Exp $ + * $Id: http.cc,v 1.295 1998/07/20 16:27:08 wessels Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -818,6 +818,7 @@ httpStart(FwdState * fwdState, int fd) PROTO_NONE, storeUrl(httpState->entry)); xstrncpy(proxy_req->host, httpState->peer->host, SQUIDHOSTNAMELEN); proxy_req->port = httpState->peer->http_port; + proxy_req->flags = orig_req->flags; httpState->request = requestLink(proxy_req); httpState->peer = httpState->peer; httpState->orig_request = requestLink(orig_req);