From: Eduard Bagdasaryan Date: Sun, 17 Jul 2016 09:03:05 +0000 (+1200) Subject: Cleanup: drop redundant parse buffer check X-Git-Tag: SQUID_4_0_13~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ec374aea7bd1b2c878124ecdbb49bceab85465b;p=thirdparty%2Fsquid.git Cleanup: drop redundant parse buffer check --- diff --git a/src/client_side.cc b/src/client_side.cc index 952ecaafed..9b2329517c 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -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;