From: Alex Rousskov Date: Fri, 5 Aug 2011 03:07:37 +0000 (-0600) Subject: Bug 3131: fd_table[fd].closing() assert from ConnStateData::noteMoreBodySpaceAvailable() X-Git-Tag: SQUID_3_1_15~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed7746159747fe11c805517bb955e2fc1d061cdd;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 e19edf06f7..e9d2a4f2e6 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -2951,6 +2951,10 @@ ConnStateData::noteMoreBodySpaceAvailable(BodyPipe::Pointer ) if (!handleRequestBodyData()) return; + // too late to read more body + if (!isOpen() || closing()) + return; + readSomeData(); }