]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3960: Dead Peers Are Not Revived
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 18 Nov 2013 11:40:56 +0000 (04:40 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 18 Nov 2013 11:40:56 +0000 (04:40 -0700)
src/neighbors.cc

index 81850d53e18f4854528b06a632d7636f611fb29c..52f79e87edd85d0c917b5a1d3becf856425f7759 100644 (file)
@@ -1316,6 +1316,7 @@ peerProbeConnect(CachePeer * p)
         Comm::ConnectionPointer conn = new Comm::Connection;
         conn->remote = p->addresses[i];
         conn->remote.port(p->http_port);
+        conn->setPeer(p);
         getOutgoingAddress(NULL, conn);
 
         ++ p->testing_now;