]> git.ipfire.org Git - thirdparty/squid.git/commit
Convert AccessLogEntry class to RefCountable
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Tue, 17 Jul 2012 14:11:24 +0000 (17:11 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Tue, 17 Jul 2012 14:11:24 +0000 (17:11 +0300)
commit41ebd3975f9f230c1c9eb8ec25358c9da985762d
tree8ee5fec1b55173e2015dc35288cff5fb62d608c5
parentc694236b6f691ca4a96cede6ca17b3b31ac10533
Convert AccessLogEntry class to RefCountable

The AccessLogEntry objects currently are only members of the ClientHttpRequest
objects. There are cases where we need to access AccessLogEntry from server
side objects to retrieve already stored informations for the client request and use it in
server side code with format/* interface (eg use Format::Format::assemble
inside http.cc)

This patch convert AccessLogEntry class to RefCountable to allow link it with
other than the ClientHttpRequest objects.

This is a Measurement Factory project.
24 files changed:
src/AccessLogEntry.cc
src/AccessLogEntry.h
src/adaptation/icap/ModXact.cc
src/adaptation/icap/Xaction.cc
src/adaptation/icap/Xaction.h
src/adaptation/icap/icap_log.cc
src/adaptation/icap/icap_log.h
src/client_side.cc
src/client_side_reply.cc
src/client_side_request.cc
src/client_side_request.h
src/format/Format.cc
src/format/Format.h
src/htcp.cc
src/icp_v2.cc
src/log/FormatHttpdCombined.cc
src/log/FormatHttpdCommon.cc
src/log/FormatSquidCustom.cc
src/log/FormatSquidIcap.cc
src/log/FormatSquidNative.cc
src/log/FormatSquidReferer.cc
src/log/FormatSquidUseragent.cc
src/log/Formats.h
src/log/access_log.cc