* Copyright (c) 2003, Robert Collins <robertc@squid-cache.org>
*/
-#include "config.h"
+#include "squid.h"
/* MS Visual Studio Projects are monolithic, so we need the following
* #if to exclude the delay pools code from compile process when not needed.
*/
#if USE_DELAY_POOLS
-#include "squid.h"
+#include "squid-old.h"
#include "DelayId.h"
#include "client_side_request.h"
#include "acl/FilledChecklist.h"
if (http->getConn() != NULL)
ch.conn(http->getConn());
- if (DelayPools::delay_data[pool].theComposite().getRaw() && ch.fastCheck()) {
+ if (DelayPools::delay_data[pool].theComposite().getRaw() && ch.fastCheck() == ACCESS_ALLOWED) {
DelayId result (pool + 1);
CompositePoolNode::CompositeSelectionDetails details;