~chtsanti/squid/icap-max-connections

« back to all changes in this revision

Viewing changes to src/tunnel.cc

  • Committer: Christos Tsantilas
  • Date: 2009-04-11 09:00:59 UTC
  • mfrom: (9294.1.333 trunk)
  • Revision ID: chtsanti@users.sourceforge.net-20090411090059-8n47p1kyy1cqfqkn
MergeĀ FromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
#include "fde.h"
40
40
#include "comm.h"
41
41
#include "client_side_request.h"
42
 
#include "ACLChecklist.h"
 
42
#include "acl/FilledChecklist.h"
43
43
#if DELAY_POOLS
44
44
#include "DelayId.h"
45
45
#endif
618
618
         * Check if this host is allowed to fetch MISSES from us (miss_access)
619
619
         * default is to allow.
620
620
         */
621
 
        ACLChecklist ch;
 
621
        ACLFilledChecklist ch(Config.accessList.miss, request, NULL);
622
622
        ch.src_addr = request->client_addr;
623
623
        ch.my_addr = request->my_addr;
624
 
        ch.request = HTTPMSGLOCK(request);
625
 
        ch.accessList = cbdataReference(Config.accessList.miss);
626
 
        /* cbdataReferenceDone() happens in either fastCheck() or ~ACLCheckList */
627
624
        answer = ch.fastCheck();
628
625
 
629
626
        if (answer == 0) {