From: wessels <> Date: Wed, 8 Feb 2006 07:16:23 +0000 (+0000) Subject: We should pass HttpStateData's orig_request to ICAP, rather than X-Git-Tag: SQUID_3_0_PRE4~334 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=132c60e0c6dde59ce87a9c6ef6461db9f0e97a99;p=thirdparty%2Fsquid.git We should pass HttpStateData's orig_request to ICAP, rather than request, which will be different (and generate wrong URLs) if forwarding to a parent cache. --- diff --git a/src/http.cc b/src/http.cc index 7d1769241a..7a72b2a5f0 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,6 +1,6 @@ /* - * $Id: http.cc,v 1.484 2006/01/25 17:41:23 wessels Exp $ + * $Id: http.cc,v 1.485 2006/02/08 00:16:23 wessels Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -2020,7 +2020,7 @@ HttpStateData::icapAclCheckDone(ICAPServiceRep::Pointer service) return; } - icap->startRespMod(this, request, reply); + icap->startRespMod(this, orig_request, reply); processReplyBody(); }