Commit c8855c93 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Backend sockets are always in blocking mode.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2638 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent d537633b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment