]> git.ipfire.org Git - thirdparty/squid.git/commit
Author: Alex Rousskov <rousskov@measurement-factory.com>
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 27 May 2010 00:51:44 +0000 (12:51 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 27 May 2010 00:51:44 +0000 (12:51 +1200)
commit76fc7e575a1f72e2e58044b2a9b79872162c1d20
treea27af49e3c3e419d71256f016bc53f71b7a26c20
parent43aaf7e6f59f40d9255f972b83a313b54a0dccce
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 2697: Adaptation leaks and extra requests after reconfiguration

This patch "detaches" services from the configuration during reconfiguration.
Detached services do not participate in new adaptation transactions but allow
the old transactions to finish nicely. Once all users are gone, the refcounted
service disappears.

As a side effect of these fixes, several aspects of eCAP service registration
and mapping of loaded and configured eCAP services have been fixed. We will be
able to claim support for eCAP reconfiguration after libecap adds
reconfiguration API.
12 files changed:
src/adaptation/Config.cc
src/adaptation/Service.cc
src/adaptation/Service.h
src/adaptation/ecap/Config.cc
src/adaptation/ecap/Host.cc
src/adaptation/ecap/Host.h
src/adaptation/ecap/ServiceRep.cc
src/adaptation/ecap/ServiceRep.h
src/adaptation/icap/Config.cc
src/adaptation/icap/ServiceRep.cc
src/adaptation/icap/ServiceRep.h
src/main.cc