From e8c965d3a36530f5045d317b82ea416d4bead158 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 26 May 2008 09:14:23 +0000 Subject: [PATCH] Backend sockets are always in blocking mode. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2638 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_fetch.c | 4 ---- 1 file changed, 4 deletions(-) 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; -- 2.39.5