]> git.ipfire.org Git - thirdparty/squid.git/commit
Close active pconns after their *_port goes away on reconfigure.
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 29 Aug 2014 06:59:17 +0000 (09:59 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 29 Aug 2014 06:59:17 +0000 (09:59 +0300)
commit0aba3a66be37d6a32ce3d1029cbc3e39f19c115d
treedb1ea9c564c2ef3a452be770ddc85868e07b1ebf
parenta9219a8983fbdfc73bd9eccb91909b86231a877a
Close active pconns after their *_port goes away on reconfigure.

This change reduces what may be perceived as reconfigure memory leaks
related to *_port options. Before this change, a single persistent
connection could continue to receive new requests (and tie no longer
globally accessible PortCfg-related structures) for hours.

TODO: Close already idle pconns as well.
src/client_side_reply.cc