]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Cleanup: drop redundant parse buffer check
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Sun, 17 Jul 2016 09:03:05 +0000 (21:03 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 17 Jul 2016 09:03:05 +0000 (21:03 +1200)
src/client_side.cc

index 952ecaafed656d75b8e330b49655826b1ebd6263..9b2329517c37eb877bfdcd0d7d1e25be5916b43f 100644 (file)
@@ -2141,10 +2141,6 @@ ConnStateData::clientParseRequests()
     // On errors, bodyPipe may become nil, but readMore will be cleared
     while (!inBuf.isEmpty() && !bodyPipe && flags.readMore) {
 
-        /* Don't try to parse if the buffer is empty */
-        if (inBuf.isEmpty())
-            break;
-
         /* Limit the number of concurrent requests */
         if (concurrentRequestQueueFilled())
             break;