]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Allow for half closed pipelines of requests
authorhno <>
Sat, 15 Jun 2002 00:45:16 +0000 (00:45 +0000)
committerhno <>
Sat, 15 Jun 2002 00:45:16 +0000 (00:45 +0000)
src/client_side.cc

index e66a116b83fd25388630d8457229f1e561c5ecb2..0880368a6bb8906345241b6ab2c3cbffc3c09934 100644 (file)
@@ -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)