]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
ICAP fix: don't call fwd->complete() in HttpStateData::abortAdapting().
authorwessels <>
Wed, 4 Jan 2006 04:54:46 +0000 (04:54 +0000)
committerwessels <>
Wed, 4 Jan 2006 04:54:46 +0000 (04:54 +0000)
Let the forwarding module decide what to do when its destructor gets
called.

src/http.cc

index b548f7741ba5bf4c2fa0338fa068f05a27fa7d95..420bb09003a5f2e3766400959e87427f0f41bf41 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: http.cc,v 1.475 2006/01/03 17:22:31 wessels Exp $
+ * $Id: http.cc,v 1.476 2006/01/03 21:54:46 wessels Exp $
  *
  * DEBUG: section 11    Hypertext Transfer Protocol (HTTP)
  * AUTHOR: Harvest Derived
@@ -2152,7 +2152,6 @@ HttpStateData::abortAdapting()
         if (fd >= 0) {
             comm_close(fd);
         } else {
-            fwd->complete();
             httpStateFree(-1, this);   // deletes this
         }