r3111 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Tue Aug 19 22:47:44 CEST 2008
Author: phk
Date: 2008-08-19 22:47:44 +0200 (Tue, 19 Aug 2008)
New Revision: 3111
Modified:
trunk/varnish-cache/bin/varnishd/cache_backend_poll.c
Log:
Don't call a zero byte response a "Good Recv".
Modified: trunk/varnish-cache/bin/varnishd/cache_backend_poll.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_backend_poll.c 2008-08-19 19:34:53 UTC (rev 3110)
+++ trunk/varnish-cache/bin/varnishd/cache_backend_poll.c 2008-08-19 20:47:44 UTC (rev 3111)
@@ -221,6 +221,9 @@
return;
}
+ if (rlen == 0)
+ return;
+
/* So we have a good receive ... */
t_now = TIM_real();
vt->last = t_now - t_start;
More information about the varnish-commit
mailing list