]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Eugene Gladchenko <eugene@donpac.ru>
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Fri, 18 Jul 2008 22:13:57 +0000 (00:13 +0200)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Fri, 18 Jul 2008 22:13:57 +0000 (00:13 +0200)
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 cc1a8594ce9dcb5c35a990f0b5d9e9499e0833a7..1b0a0854870899b3a529326f33003edcb2603172 100644 (file)
@@ -1674,7 +1674,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