------------------------------------------------------------ revno: 11731 revision-id: squid3@treenet.co.nz-20121130133544-l4a77h76rwphtpmd parent: squid3@treenet.co.nz-20121130133449-jgeefg1cszsbdw5k fixes bug(s): http://bugs.squid-cache.org/show_bug.cgi?id=3685 committer: Amos Jeffries branch nick: 3.2 timestamp: Fri 2012-11-30 06:35:44 -0700 message: Bug 3685: Squid hangs in ClassCBucket::update ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20121130133544-l4a77h76rwphtpmd # target_branch: http://bzr.squid-cache.org/bzr/squid3/branches\ # /SQUID_3_2 # testament_sha1: 9ff821c5e634e06f502959b41e631d7fa165db1f # timestamp: 2012-11-30 13:41:53 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/branches\ # /SQUID_3_2 # base_revision_id: squid3@treenet.co.nz-20121130133449-\ # jgeefg1cszsbdw5k # # Begin patch === modified file 'src/delay_pools.cc' --- src/delay_pools.cc 2012-07-28 05:38:50 +0000 +++ src/delay_pools.cc 2012-11-30 13:35:44 +0000 @@ -369,7 +369,7 @@ /* If we aren't active, don't try to update us ! */ assert (rate.restore_bps != -1); - for (unsigned char j = 0; j < individuals.size(); ++j) + for (unsigned int j = 0; j < individuals.size(); ++j) individuals.values[j].update (rate, incr); }