[master] 56bf8ab Add a debugging vsl to indicate when we enable streaming.

Poul-Henning Kamp phk at FreeBSD.org
Wed Mar 12 11:14:49 CET 2014


commit 56bf8ab581345565bc81fea2b2d5ded71987081e
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Mar 12 10:14:01 2014 +0000

    Add a debugging vsl to indicate when we enable streaming.
    
    This should possibly be an official VSL record ?

diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index 297f6f2..1172a61 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -480,6 +480,7 @@ vbf_stp_fetch(struct worker *wrk, struct busyobj *bo)
 
 	if (bo->do_stream) {
 		HSH_Unbusy(&wrk->stats, obj->objcore);
+		VSLb(bo->vsl, SLT_Debug, "Allow streaming");
 		VBO_setstate(bo, BOS_STREAM);
 	}
 



More information about the varnish-commit mailing list