]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
FwdState::abort can happen mid-connect
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 18 Jul 2010 12:48:27 +0000 (00:48 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 18 Jul 2010 12:48:27 +0000 (00:48 +1200)
src/forward.cc

index 344982baa33d81eaf404562db247771a15dc8f7d..c3e49b7679a2dd314a2374c5beba123fd9f70183 100644 (file)
@@ -82,7 +82,6 @@ FwdState::abort(void* d)
 
     if (fwd->paths.size() > 0 && fwd->paths[0]->isOpen()) {
         comm_remove_close_handler(fwd->paths[0]->fd, fwdServerClosedWrapper, fwd);
-        fwd->paths[0]->close();
     }
     fwd->paths.clean();
     fwd->self = NULL;