--------------------- PatchSet 10658 Date: 2008/07/16 14:32:27 Author: adri Branch: delay_pool_write Tag: (none) Log: Use the client address from request_t in the delayAccessReply() lookup; src wasn't being filled in and thus couldn't be used. Members: src/delay_pools.c:1.21.4.3->1.21.4.4 Index: squid/src/delay_pools.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/delay_pools.c,v retrieving revision 1.21.4.3 retrieving revision 1.21.4.4 diff -u -r1.21.4.3 -r1.21.4.4 --- squid/src/delay_pools.c 16 Jul 2008 12:15:45 -0000 1.21.4.3 +++ squid/src/delay_pools.c 16 Jul 2008 14:32:27 -0000 1.21.4.4 @@ -1,6 +1,6 @@ /* - * $Id: delay_pools.c,v 1.21.4.3 2008/07/16 12:15:45 adri Exp $ + * $Id: delay_pools.c,v 1.21.4.4 2008/07/16 14:32:27 adri Exp $ * * DEBUG: section 77 Delay Pools * AUTHOR: David Luyer @@ -330,11 +330,13 @@ memset(&ch, '\0', sizeof(ch)); ch.conn = http->conn; ch.reply = http->reply; + ch.src_addr = r->client_addr; if (r->client_addr.s_addr == INADDR_BROADCAST) { debug(77, 2) ("delayClientReply: WARNING: Called with 'allones' address, ignoring\n"); return delayId(0, 0); } for (pool = 0; pool < Config.Delay.pools; pool++) { + //debug(1, 1) ("delayClientReply: checking pool %d list %p\n", pool, Config.Delay.accessClientReply[pool]); if (Config.Delay.accessClientReply[pool] && aclCheckFast(Config.Delay.accessClientReply[pool], &ch)) break; }