]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/blob - src/patches/squid/02_dont_treat_connect_rejections_as_peer_problems.patch
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x
[people/mfischer/ipfire-2.x.git] / src / patches / squid / 02_dont_treat_connect_rejections_as_peer_problems.patch
1 diff -U 3 a/src/clients/HttpTunneler.cc b/src/clients/HttpTunneler.cc
2 --- a/src/clients/HttpTunneler.cc Sat Feb 12 04:47:05 2022
3 +++ b/src/clients/HttpTunneler.cc Wed Feb 16 18:15:42 2022
4 @@ -389,8 +389,8 @@
5 Http::Tunneler::countFailingConnection()
6 {
7 assert(connection);
8 - if (const auto p = connection->getPeer())
9 - peerConnectFailed(p);
10 +// if (const auto p = connection->getPeer())
11 +// peerConnectFailed(p);
12 if (noteFwdPconnUse && connection->isOpen())
13 fwdPconnPool->noteUses(fd_table[connection->fd].pconn.uses);
14 }