r610 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Wed Aug 2 21:12:01 CEST 2006


Author: phk
Date: 2006-08-02 21:12:01 +0200 (Wed, 02 Aug 2006)
New Revision: 610

Modified:
   trunk/varnish-cache/bin/varnishd/cache_session.c
Log:
log StatAddr with fd=0 to avoid out-of-order confusion


Modified: trunk/varnish-cache/bin/varnishd/cache_session.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_session.c	2006-08-02 18:17:49 UTC (rev 609)
+++ trunk/varnish-cache/bin/varnishd/cache_session.c	2006-08-02 19:12:01 UTC (rev 610)
@@ -146,7 +146,7 @@
 	
 	AZ(pthread_mutex_lock(&ses_mtx));
 	ses_sum_acct(b, a);
-	VSL(SLT_StatAddr, sp->id, "%s 0 %d %ju %ju %ju %ju %ju %ju %ju",
+	VSL(SLT_StatAddr, 0, "%s 0 %d %ju %ju %ju %ju %ju %ju %ju",
 	    sp->srcaddr->addr, time(NULL) - b->first,
 	    b->sess, b->req, b->pipe, b->pass,
 	    b->fetch, b->hdrbytes, b->bodybytes);




More information about the varnish-commit mailing list