[master] 933b8cf Log an error if we fail to get storage
Federico G. Schwindt
fgsch at lodoss.net
Mon May 23 13:24:06 CEST 2016
commit 933b8cf4b8d28615ac1b645b94dc3090c30756a4
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Mon May 23 12:18:41 2016 +0100
Log an error if we fail to get storage
diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index c076bcc..62c79ad 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -874,6 +874,7 @@ vbf_stp_error(struct worker *wrk, struct busyobj *bo)
bo->vfc->esi_req = bo->bereq;
if (vbf_beresp2obj(bo)) {
+ (void)VFP_Error(bo->vfc, "Could not get storage");
VSB_destroy(&synth_body);
return (F_STP_FAIL);
}
More information about the varnish-commit
mailing list