From: robertc <> Date: Tue, 4 Mar 2003 14:55:04 +0000 (+0000) Subject: Summary: Bugfix deferred read flushing. X-Git-Tag: SQUID_3_0_PRE1~281 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33cea91c679d66fda8fa28624607c5dc3b3db0ea;p=thirdparty%2Fsquid.git Summary: Bugfix deferred read flushing. Keywords: A typo lead to infinite deferral when flushing left reads on the stack. --- diff --git a/src/comm.cc b/src/comm.cc index 7553fb0bb7..8f9ef061c9 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,6 +1,6 @@ /* - * $Id: comm.cc,v 1.368 2003/03/04 01:40:27 robertc Exp $ + * $Id: comm.cc,v 1.369 2003/03/04 07:55:04 robertc Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -2451,8 +2451,10 @@ DeferredReadManager::kickReads(int const count) { /* if we had List::size() we could consolidate this and flushReads */ - if (count < 1) + if (count < 1) { flushReads(); + return; + } size_t remaining = count;