]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4065: round-robin neighbor selection with unequal weights
authorMike Mitchell <mike.mitchell@sas.com>
Tue, 20 May 2014 17:08:56 +0000 (10:08 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 20 May 2014 17:08:56 +0000 (10:08 -0700)
src/neighbors.cc

index 0e02bd791449598aa3c8fe7b4f3cec403561883f..3d37ace3528e05eafb4c808ea712d1db066159ad 100644 (file)
@@ -467,7 +467,7 @@ peerClearRR()
 {
     CachePeer *p = NULL;
     for (p = Config.peers; p; p = p->next) {
-        p->rr_count = 0;
+        p->rr_count = 1;
     }
 }