[master] 6c6a41a Actually do the VSL_flush on panics
Poul-Henning Kamp
phk at varnish-cache.org
Wed Apr 3 12:55:55 CEST 2013
commit 6c6a41a277a53edd01fdc5d5d962f8fa9437dea6
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Apr 3 10:55:34 2013 +0000
Actually do the VSL_flush on panics
diff --git a/bin/varnishd/cache/cache_panic.c b/bin/varnishd/cache/cache_panic.c
index 3f49033..1781789 100644
--- a/bin/varnishd/cache/cache_panic.c
+++ b/bin/varnishd/cache/cache_panic.c
@@ -435,9 +435,10 @@ pan_ic(const char *func, const char *file, int line, const char *cond,
if (!FEATURE(FEATURE_SHORT_PANIC)) {
req = THR_GetRequest();
- if (req != NULL)
+ if (req != NULL) {
pan_req(req);
VSL_Flush(req->vsl, 0);
+ }
}
VSB_printf(pan_vsp, "\n");
VSB_bcat(pan_vsp, "", 1); /* NUL termination */
More information about the varnish-commit
mailing list