Commit 2247fc84 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

More commenting out busy checks

parent 44b83413
......@@ -513,7 +513,7 @@ exp_expire(struct exp_priv *ep, double now)
lru = oc_getlru(oc);
CHECK_OBJ_NOTNULL(lru, LRU_MAGIC);
Lck_Lock(&lru->mtx);
AZ(oc->flags & OC_F_BUSY);
// AZ(oc->flags & OC_F_BUSY);
oc->flags |= OC_F_DYING;
if (oc->flags & OC_F_OFFLRU)
oc = NULL;
......
......@@ -203,11 +203,10 @@ vbf_stp_mkbereq(const struct worker *wrk, struct busyobj *bo)
if (http_GetHdr(bo->ims_obj->http, H_Last_Modified, &p)) {
http_PrintfHeader(bo->bereq0,
"If-Modified-Since: %s", p);
} else if (http_GetHdr(bo->ims_obj->http, H_ETag, &p)) {
}
if (http_GetHdr(bo->ims_obj->http, H_ETag, &p)) {
http_PrintfHeader(bo->bereq0,
"If-None-Match: %s", p);
} else {
WRONG("Shouldn't have bo->ims_obj");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment