/*
- * $Id: client_side.cc,v 1.381 1998/08/17 18:48:59 wessels Exp $
+ * $Id: client_side.cc,v 1.382 1998/08/17 19:19:33 wessels Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
if (!Config.onoff.reload_into_ims)
EBIT_SET(request->flags, REQ_NOCACHE);
else
- EBIT_SET(request->flags, REQ_NOCACHE_HACK);
+ EBIT_SET(request->flags, REQ_NOCACHE_IMS);
}
stringClean(&s);
}
/*
- * $Id: enums.h,v 1.116 1998/08/17 18:49:00 wessels Exp $
+ * $Id: enums.h,v 1.117 1998/08/17 19:19:34 wessels Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
REQ_REFRESH,
REQ_USED_PROXY_AUTH,
REQ_REDIRECTED,
- REQ_NOCACHE_HACK /* for changing no-cache requests into IMS */
+ REQ_NOCACHE_IMS /* for changing no-cache requests into IMS */
};
enum {
/*
- * $Id: refresh.cc,v 1.29 1998/08/11 19:18:37 wessels Exp $
+ * $Id: refresh.cc,v 1.30 1998/08/17 19:19:35 wessels Exp $
*
* DEBUG: section 22 Refresh Calculation
* AUTHOR: Harvest Derived
refreshCounts.revalidate_stale++;
return 1;
}
+ if (EBIT_TEST(request->flags, REQ_NOCACHE_IMS)) {
+ debug(22, 3) ("refreshCheck: YES: Reload into IMS\n");
+ refreshCounts.revalidate_stale++;
+ return 1;
+ }
if ((R = refreshLimits(uri))) {
min = R->min;
pct = R->pct;