From: Alex Rousskov Date: Thu, 28 Jul 2011 06:04:55 +0000 (+1200) Subject: Bug 3131:fd_table[fd].closing() assert from ConnStateData::noteMoreBodySpaceAvailable() X-Git-Tag: take08~55^2~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6bec3b16672fe650376327e042fa0d9bf661f6e0;p=thirdparty%2Fsquid.git Bug 3131:fd_table[fd].closing() assert from ConnStateData::noteMoreBodySpaceAvailable() --- diff --git a/src/client_side.cc b/src/client_side.cc index 8a1713f39c..4f62f0a875 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -3027,6 +3027,10 @@ ConnStateData::noteMoreBodySpaceAvailable(BodyPipe::Pointer ) if (!handleRequestBodyData()) return; + // too late to read more body + if (!isOpen() || closing()) + return; + readSomeData(); }