[master] 69e4cfc On pipe, if we don't get a backend log it to shmlog

Federico G. Schwindt fgsch at lodoss.net
Wed Apr 9 17:42:55 CEST 2014


commit 69e4cfc9ae931aab710e33c0fa89e35ae1e50940
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Wed Apr 9 16:42:16 2014 +0100

    On pipe, if we don't get a backend log it to shmlog

diff --git a/bin/varnishd/cache/cache_pipe.c b/bin/varnishd/cache/cache_pipe.c
index 2e83655..bb666a1 100644
--- a/bin/varnishd/cache/cache_pipe.c
+++ b/bin/varnishd/cache/cache_pipe.c
@@ -115,6 +115,7 @@ PipeRequest(struct req *req, struct busyobj *bo)
 
 	vc = VDI_GetFd(bo);
 	if (vc == NULL) {
+		VSLb(bo->vsl, SLT_FetchError, "no backend connection");
 		pipecharge(req, &acct_pipe, NULL);
 		SES_Close(req->sp, SC_OVERLOAD);
 		return;



More information about the varnish-commit mailing list