From: phk Date: Mon, 26 May 2008 09:14:23 +0000 (+0000) Subject: Backend sockets are always in blocking mode. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8c965d3a36530f5045d317b82ea416d4bead158;p=varnish Backend sockets are always in blocking mode. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2638 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_fetch.c b/varnish-cache/bin/varnishd/cache_fetch.c index ac523c8b..19aa5208 100644 --- a/varnish-cache/bin/varnishd/cache_fetch.c +++ b/varnish-cache/bin/varnishd/cache_fetch.c @@ -65,8 +65,6 @@ fetch_straight(struct sess *sp, struct http_conn *htc, const char *b) 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 @@ fetch_eof(struct sess *sp, struct http_conn *htc) struct storage *st; unsigned v; - TCP_blocking(htc->fd); - p = NULL; v = 0; st = NULL;