]> git.ipfire.org Git - thirdparty/squid.git/commit - src/adaptation/icap/Config.h
Moved configuration options that do not depend on the adaptation method
authorAlex Rousskov <rousskov@measurement-factory.com>
Sun, 30 Mar 2008 19:13:51 +0000 (13:13 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Sun, 30 Mar 2008 19:13:51 +0000 (13:13 -0600)
commit64bdef96ce94ed48c38fd37e063fdbd7cf8cce5f
tree4692b0e8c438433eebcf3b186ed3d97df25bc6ce
parenta213f587a94c101df5fe6b4583fe2712761f5bde
Moved configuration options that do not depend on the adaptation method
from ICAP/ICAPConfig to adaptation/Config. ICAP and eCAP will not share
the same base configuration but will share the same base configuration code
(i.e., there will be two independent ICAPConfig and ecap::Config objects,
but they will have a common parent).

Implemented delayed creation of adaptation services. We used to create
ICAPServiceRep objects when parsing the configuration file.
Create-as-you-parse is imperfect for several reasons, especially if the
services are dynamically loaded as is the case with eCAP. We now remember the
service configuration and then create the actual service object _after_ the
configuration has been parsed and loadable modules, if any, have been loaded.

No functional changes are expected from this change.
src/ICAP/ICAPConfig.cc
src/ICAP/ICAPConfig.h
src/adaptation/Config.cc [new file with mode: 0644]
src/adaptation/Config.h [new file with mode: 0644]