From: hno <> Date: Sat, 15 Jun 2002 00:45:16 +0000 (+0000) Subject: Allow for half closed pipelines of requests X-Git-Tag: SQUID_3_0_PRE1~981 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=380991a7f009a2bd81558fc44c4f349f20e3355a;p=thirdparty%2Fsquid.git Allow for half closed pipelines of requests --- diff --git a/src/client_side.cc b/src/client_side.cc index e66a116b83..0880368a6b 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.579 2002/06/04 14:42:32 hno Exp $ + * $Id: client_side.cc,v 1.580 2002/06/14 18:45:16 hno Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -2498,7 +2498,8 @@ clientReadRequest(int fd, void *data) debug(33, 3) ("clientReadRequest: FD %d max concurrent requests reached\n", fd); debug(33, 5) ("clientReadRequest: FD %d defering new request until one is done\n", fd); conn->defer.until = squid_curtime + 100; /* Reset when a request is complete */ - break; + conn->defer.n++; + return; } conn->in.buf[conn->in.offset] = '\0'; /* Terminate the string */ if (nrequests == 0)