[master] a6eac1d77 cache_fetch: Add homework for later

Walid Boudebouda walid.boudebouda at gmail.com
Mon Sep 1 08:46:05 UTC 2025


commit a6eac1d779eccc464a3b06e0aebcbe819f3b7a19
Author: Walid Boudebouda <walid.boudebouda at gmail.com>
Date:   Tue Aug 12 11:37:38 2025 +0200

    cache_fetch: Add homework for later

diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index a7e7e2b56..55374cf09 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -885,6 +885,7 @@ vbf_stp_condfetch(struct worker *wrk, struct busyobj *bo)
 		 * (this would be an issue for ie OA_GZIPBITS). */
 		VSLb(bo->vsl, SLT_Notice,
 		    "vsl: Conditional fetch wait for streaming object");
+		/* XXX: We should have a VCL controlled timeout here */
 		ObjWaitState(stale_oc, BOS_FINISHED);
 		stale_state = stale_boc->state;
 		HSH_DerefBoc(bo->wrk, stale_oc);


More information about the varnish-commit mailing list