File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -269,6 +269,9 @@ vbf_stp_mkbereq(struct worker *wrk, struct busyobj *bo)
269
269
}
270
270
http_ForceField (bo -> bereq0 , HTTP_HDR_PROTO , "HTTP/1.1" );
271
271
272
+ if (bo -> stale_oc != NULL )
273
+ HSH_CheckBans (wrk , bo -> stale_oc );
274
+
272
275
if (bo -> stale_oc != NULL && !(bo -> stale_oc -> flags & OC_F_DYING ) &&
273
276
ObjCheckFlag (bo -> wrk , bo -> stale_oc , OF_IMSCAND ) &&
274
277
(bo -> stale_oc -> boc != NULL || ObjGetLen (wrk , bo -> stale_oc ) != 0 )) {
@@ -835,6 +838,8 @@ vbf_stp_condfetch(struct worker *wrk, struct busyobj *bo)
835
838
stale_oc = bo -> stale_oc ;
836
839
CHECK_OBJ_NOTNULL (stale_oc , OBJCORE_MAGIC );
837
840
841
+ HSH_CheckBans (wrk , stale_oc );
842
+
838
843
if (stale_oc -> flags & OC_F_DYING ) {
839
844
(void )VFP_Error (bo -> vfc , "Template object invalidated" );
840
845
vbf_cleanup (bo );
You can’t perform that action at this time.
0 commit comments