r2638 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Mon May 26 11:14:24 CEST 2008
Author: phk
Date: 2008-05-26 11:14:23 +0200 (Mon, 26 May 2008)
New Revision: 2638
Modified:
trunk/varnish-cache/bin/varnishd/cache_fetch.c
Log:
Backend sockets are always in blocking mode.
Modified: trunk/varnish-cache/bin/varnishd/cache_fetch.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_fetch.c 2008-05-26 08:38:00 UTC (rev 2637)
+++ trunk/varnish-cache/bin/varnishd/cache_fetch.c 2008-05-26 09:14:23 UTC (rev 2638)
@@ -65,8 +65,6 @@
sp->obj->len = cl;
p = st->ptr;
- TCP_blocking(htc->fd);
-
while (cl > 0) {
i = HTC_Read(htc, p, cl);
if (i <= 0)
@@ -209,8 +207,6 @@
struct storage *st;
unsigned v;
- TCP_blocking(htc->fd);
-
p = NULL;
v = 0;
st = NULL;
More information about the varnish-commit
mailing list