From: Alex Rousskov Date: Thu, 1 Oct 2020 16:01:33 +0000 (+0000) Subject: Always send port in request-target of CONNECT requests to peers (#733) X-Git-Tag: 4.15-20210522-snapshot~57 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ef748c6a2094b67c2a3114f96c660068afbb1d1;p=thirdparty%2Fsquid.git Always send port in request-target of CONNECT requests to peers (#733) Broken since commit f5e1794 (Peering support for SslBump). --- diff --git a/src/clients/HttpTunneler.cc b/src/clients/HttpTunneler.cc index a4957f73f3..27439945de 100644 --- a/src/clients/HttpTunneler.cc +++ b/src/clients/HttpTunneler.cc @@ -43,7 +43,7 @@ Http::Tunneler::Tunneler(const Comm::ConnectionPointer &conn, const HttpRequest: assert(connection); assert(callback); assert(dynamic_cast(callback->getDialer())); - url = request->url.authority(); + url = request->url.authority(true); watchForClosures(); }