From: Amos Jeffries Date: Sun, 20 Apr 2008 06:13:01 +0000 (+1200) Subject: Author: Christos Tsantilas X-Git-Tag: SQUID_3_0_STABLE5~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5f93cf59198178402d09e713b291d07c27e95b8;p=thirdparty%2Fsquid.git Author: Christos Tsantilas Bug 2311: crashes/restarts when ICAP enabled on respmod for HTTP body size greater than 100kb --- diff --git a/src/BodyPipe.cc b/src/BodyPipe.cc index 71c12b00c1..4e10b1d14d 100644 --- a/src/BodyPipe.cc +++ b/src/BodyPipe.cc @@ -370,8 +370,11 @@ BodyPipeCheckout::BodyPipeCheckout(BodyPipe &aPipe): pipe(aPipe), BodyPipeCheckout::~BodyPipeCheckout() { - if (!checkedIn) - pipe.undoCheckOut(*this); + if (!checkedIn) { +// pipe.undoCheckOut(*this); + debugs(91, 2, "BodyPipeCheckout will gone without the checkin performed"); + pipe.checkIn(*this); + } } void