]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Eugene Gladchenko <eugene@donpac.ru>
authorAmos Jeffries <amosjeffries@squid-cache.org>
Sat, 19 Jul 2008 05:10:03 +0000 (23:10 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Sat, 19 Jul 2008 05:10:03 +0000 (23:10 -0600)
Bug #2418: mgr:active_requests always returns "delay_pool 0"

The delay pool indication in mgr:active_requests had not been updated
when delay pools was refactored some years ago..

src/stat.cc

index 1cfbbae95620eb1a2baa4f7bb1d1356b173f9406..f9b50a070096cda9cf78093e44b03795b5c2e420 100644 (file)
@@ -1710,7 +1710,7 @@ statClientRequests(StoreEntry * s)
 
 #if DELAY_POOLS
 
-        storeAppendPrintf(s, "delay_pool %d\n", DelayId::DelayClient(http) >> 16);
+        storeAppendPrintf(s, "delay_pool %d\n", DelayId::DelayClient(http).pool());
 
 #endif