From: Nikolai Gorchilov Date: Thu, 13 Mar 2014 21:11:47 +0000 (-0600) Subject: Author: Nikolai Gorchilov X-Git-Tag: SQUID_3_5_0_1~335 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aa91da82c54240d8b81527a715874f10f208e29a;p=thirdparty%2Fsquid.git Author: Nikolai Gorchilov Use request URI instead of StoreID when forwarding requests to cache peers. TODO: There are more bugs like that, including using Store IDs in ICP requests. --- diff --git a/src/http.cc b/src/http.cc index 95794cc082..f79f6bdb5f 100644 --- a/src/http.cc +++ b/src/http.cc @@ -2114,7 +2114,7 @@ HttpStateData::buildRequestPrefix(MemBuf * mb) Http::ProtocolVersion httpver(1,1); const char * url; if (_peer && !_peer->options.originserver) - url = entry->url(); + url = urlCanonical(request); else url = request->urlpath.termedBuf(); mb->Printf("%s %s %s/%d.%d\r\n",