]> git.ipfire.org Git - thirdparty/squid.git/commit - src/FwdState.h
Reduce implicit Comm::Connection closures
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 3 Dec 2010 13:40:18 +0000 (02:40 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 3 Dec 2010 13:40:18 +0000 (02:40 +1300)
commite3a4aeccfab5a5818896f43369c03e980d000b79
treeb3c727a33b70982b4e69607033b9fed9e8dbfaec
parent3e4bebf89126cc1e17cb9a4d6255f191d59c6b76
Reduce implicit Comm::Connection closures

* permits the ConnOpener parent Jobs to abort the opening by canceling
  their callbacks early.
* makes FTP, forwarding and ConnStateData components cancel pending comm
  opens from their destructors (swanSong in ConnStateData).

This seems to reduce the cycles consumed by ConnOpener and also the Async
call delays somewhat in the cases where client connections are aborted.
src/client_side.cc
src/client_side.h
src/client_side_request.cc
src/comm/ConnOpener.cc
src/forward.cc
src/forward.h
src/ftp.cc
src/http.cc
src/peer_select.cc