From: wessels <> Date: Wed, 4 Jan 2006 04:54:46 +0000 (+0000) Subject: ICAP fix: don't call fwd->complete() in HttpStateData::abortAdapting(). X-Git-Tag: SQUID_3_0_PRE4~393 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b2bfcff8104000f8b116513b1a687ae23a7368a;p=thirdparty%2Fsquid.git ICAP fix: don't call fwd->complete() in HttpStateData::abortAdapting(). Let the forwarding module decide what to do when its destructor gets called. --- diff --git a/src/http.cc b/src/http.cc index b548f7741b..420bb09003 100644 --- a/src/http.cc +++ b/src/http.cc @@ -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 }