]> git.ipfire.org Git - thirdparty/squid.git/commit - src/adaptation/icap/ModXact.cc
Improved const-correctness of ALE-driven APIs (#904)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Tue, 28 Sep 2021 15:59:43 +0000 (15:59 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 1 Oct 2021 21:20:02 +0000 (21:20 +0000)
commit63ed9e8e330a376f9b9f7c776d74b083b704f4c4
tree5960b75d2a0af4ffc851d4f87bf6b2c7759bdac4
parente0072b1d26280de7c006f6009706bf4c2a131f0d
Improved const-correctness of ALE-driven APIs (#904)

Also made ClientHttpRequest::al constant. This work actually started
with changing this data member, to make some ALE-related hack safer.
That change required the API fixes. We have since got rid of the hack,
but all these const-correctness changes are valuable on their own.

No functionality changes.
13 files changed:
src/AccessLogEntry.h
src/adaptation/AccessCheck.cc
src/adaptation/AccessCheck.h
src/adaptation/Iterator.cc
src/adaptation/Iterator.h
src/adaptation/icap/ModXact.cc
src/client_side.cc
src/client_side_request.cc
src/client_side_request.h
src/esi/Esi.cc
src/log/access_log.cc
src/stat.cc
src/tests/stub_liblog.cc