~chtsanti/squid/icap-max-connections

« back to all changes in this revision

Viewing changes to src/comm.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:
1548
1548
    if (F->closing())
1549
1549
        return;
1550
1550
 
1551
 
    if (shutting_down && (!F->flags.open || F->type == FD_FILE))
 
1551
    /* XXX: is this obsolete behind F->closing() ? */
 
1552
    if ( (shutting_down || reconfiguring) && (!F->flags.open || F->type == FD_FILE))
1552
1553
        return;
1553
1554
 
1554
1555
    /* The following fails because ipc.c is doing calls to pipe() to create sockets! */
2565
2566
    if (aRead.cancelled)
2566
2567
        return;
2567
2568
 
2568
 
    if(aRead.theRead.fd>=0 && fd_table[aRead.theRead.fd].closing())
2569
 
        return;
 
2569
    if (aRead.theRead.fd>=0 && fd_table[aRead.theRead.fd].closing())
 
2570
        return;
2570
2571
 
2571
2572
    debugs(5, 3, "Kicking deferred read on FD " << aRead.theRead.fd);
2572
2573