]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Always send port in request-target of CONNECT requests to peers (#733)
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 1 Oct 2020 16:01:33 +0000 (16:01 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Sun, 8 Nov 2020 04:12:20 +0000 (17:12 +1300)
Broken since commit f5e1794 (Peering support for SslBump).

src/clients/HttpTunneler.cc

index a4957f73f31a77e43fadfdd0b6491022f97c14a9..27439945dec6b25942139438de551eb767637a30 100644 (file)
@@ -43,7 +43,7 @@ Http::Tunneler::Tunneler(const Comm::ConnectionPointer &conn, const HttpRequest:
     assert(connection);
     assert(callback);
     assert(dynamic_cast<Http::TunnelerAnswer *>(callback->getDialer()));
-    url = request->url.authority();
+    url = request->url.authority(true);
     watchForClosures();
 }