r928 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Wed Sep 6 21:08:06 CEST 2006


Author: phk
Date: 2006-09-06 21:08:06 +0200 (Wed, 06 Sep 2006)
New Revision: 928

Modified:
   trunk/varnish-cache/bin/varnishd/cache_center.c
   trunk/varnish-cache/bin/varnishd/cache_pool.c
Log:
Grab the r_recv timestamp at the right time.


Modified: trunk/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_center.c	2006-09-06 18:47:06 UTC (rev 927)
+++ trunk/varnish-cache/bin/varnishd/cache_center.c	2006-09-06 19:08:06 UTC (rev 928)
@@ -589,6 +589,8 @@
 {
 	int done;
 
+	clock_gettime(CLOCK_REALTIME, &sp->t_req);
+
 	AZ(sp->vcl);
 	sp->vcl = VCL_Get();
 

Modified: trunk/varnish-cache/bin/varnishd/cache_pool.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pool.c	2006-09-06 18:47:06 UTC (rev 927)
+++ trunk/varnish-cache/bin/varnishd/cache_pool.c	2006-09-06 19:08:06 UTC (rev 928)
@@ -215,8 +215,6 @@
 	struct worker *w;
 	pthread_t tp;
 
-	clock_gettime(CLOCK_REALTIME, &sp->t_req);
-
 	sp->workreq.sess = sp;
 
 	LOCK(&wrk_mtx);




More information about the varnish-commit mailing list