r4979 - trunk/varnish-cache/bin/varnishd

phk at varnish-cache.org phk at varnish-cache.org
Mon Jun 21 17:33:56 CEST 2010


Author: phk
Date: 2010-06-21 17:33:56 +0200 (Mon, 21 Jun 2010)
New Revision: 4979

Modified:
   trunk/varnish-cache/bin/varnishd/cache_fetch.c
Log:
Emit a Length record on fetches from the backend.



Modified: trunk/varnish-cache/bin/varnishd/cache_fetch.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_fetch.c	2010-06-21 12:31:25 UTC (rev 4978)
+++ trunk/varnish-cache/bin/varnishd/cache_fetch.c	2010-06-21 15:33:56 UTC (rev 4979)
@@ -516,6 +516,8 @@
 		return (__LINE__);
 	}
 
+	WSL(sp->wrk, SLT_Length, sp->vbe->fd, "%u", sp->obj->len);
+
 	{
 	/* Sanity check fetch methods accounting */
 		unsigned uu;




More information about the varnish-commit mailing list