]> err.no Git - varnish/commitdiff
Backend sockets are always in blocking mode.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 26 May 2008 09:14:23 +0000 (09:14 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 26 May 2008 09:14:23 +0000 (09:14 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2638 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_fetch.c

index ac523c8b3207b4d28dca4423f750fc34d18e688b..19aa52088c6d185835a7b86654a81c8951e6b212 100644 (file)
@@ -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;