]> git.ipfire.org Git - thirdparty/squid.git/commit - src/adaptation/icap/ModXact.cc
libecap v0.2.0 options support: supply client IP and user name to eCAP.
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 17 Feb 2011 19:27:54 +0000 (12:27 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Thu, 17 Feb 2011 19:27:54 +0000 (12:27 -0700)
commit22fff3bf355cb43a0162edbeb768ff167cd53e71
tree95932db910bcb8c46613607ee4fd9edd50d0a722
parent7b4422de9e3670d9166112a5ac8c4796d36825d6
libecap v0.2.0 options support: supply client IP and user name to eCAP.

Squid now uses libecap::Options API to send client IP and user name
meta-information to the eCAP adapter transaction, just like ICAP code
does when talking to an ICAP service transaction.

Renamed related icap_* options to their more general adaptation_*
equivalents because they now control both eCAP and ICAP behavior.
Old icap_* names are deprecated but still available.

Converted eCAP service configuration code to support the new Options
API, polished.
src/adaptation/Config.cc
src/adaptation/Config.h
src/adaptation/ecap/Host.cc
src/adaptation/ecap/Host.h
src/adaptation/ecap/ServiceRep.cc
src/adaptation/ecap/XactionRep.cc
src/adaptation/ecap/XactionRep.h
src/adaptation/icap/ModXact.cc
src/cf.data.pre