]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 20 Apr 2008 06:13:01 +0000 (18:13 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 20 Apr 2008 06:13:01 +0000 (18:13 +1200)
Bug 2311: crashes/restarts when ICAP enabled on respmod for HTTP body size greater than 100kb

src/BodyPipe.cc

index 71c12b00c17278cc3a4bf8c14a5ad5173e2b5298..4e10b1d14d33ba490f81d9057c89158ff9b1c512 100644 (file)
@@ -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