~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to src/DelayPool.cc

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2010-05-04 11:15:49 UTC
  • mfrom: (1.3.1 upstream)
  • mto: (20.3.1 squeeze) (21.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20100504111549-1apjh2g5sndki4te
Tags: upstream-3.1.3
ImportĀ upstreamĀ versionĀ 3.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
1
/*
3
 
 * $Id: DelayPool.cc,v 1.7 2007/04/23 06:11:55 wessels Exp $
 
2
 * $Id$
4
3
 *
5
4
 * DEBUG: section 77    Delay Pools
6
5
 * AUTHOR: Robert Collins <robertc@squid-cache.org>
23
22
 *  it under the terms of the GNU General Public License as published by
24
23
 *  the Free Software Foundation; either version 2 of the License, or
25
24
 *  (at your option) any later version.
26
 
 *  
 
25
 *
27
26
 *  This program is distributed in the hope that it will be useful,
28
27
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
29
28
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
30
29
 *  GNU General Public License for more details.
31
 
 *  
 
30
 *
32
31
 *  You should have received a copy of the GNU General Public License
33
32
 *  along with this program; if not, write to the Free Software
34
33
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
42
41
#if DELAY_POOLS
43
42
#include "DelayPool.h"
44
43
#include "CommonPool.h"
45
 
#include "ACL.h"
 
44
#include "acl/Acl.h"
 
45
#include "acl/Gadgets.h"
46
46
#include "Store.h"
47
47
 
48
48
DelayPool::DelayPool() : pool (NULL), access (NULL)
62
62
void
63
63
DelayPool::parse()
64
64
{
65
 
    assert (theComposite() != NULL);
 
65
    assert(theComposite() != NULL);
66
66
    theComposite()->parse();
67
67
}
68
68
 
69
69
void
70
 
DelayPool::dump (StoreEntry *entry, unsigned int i) const
 
70
DelayPool::dump(StoreEntry *entry, unsigned int i) const
71
71
{
72
72
    if (theComposite() == NULL)
73
73
        return;
103
103
    pool = NULL;
104
104
}
105
105
 
106
 
/* XXX create DelayIdComposite.cc */
 
106
/** \todo XXX create DelayIdComposite.cc */
107
107
void
108
108
CompositePoolNode::delayRead(DeferredRead const &aRead)
109
109
{