]> git.ipfire.org Git - thirdparty/squid.git/commit
Refactor X-Forwarded-For stats (#834)
authorFrancesco Chemolli <kinkie@squid-cache.org>
Thu, 15 Jul 2021 21:45:04 +0000 (21:45 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Tue, 20 Jul 2021 15:32:50 +0000 (15:32 +0000)
commit9386f99dbf3516af825a455f2f3ae6fbda3f75fb
tree43a9d582abe3222bafdac5abda5149b5e0742050
parent8a07d123ef7e986b601731fdaf4c93cc32471c73
Refactor X-Forwarded-For stats (#834)

Use std::unordered_map instead of hash_table
Clean up unused code
Rename a few functions to better reflect name

Test plan:

$ squidclient mgr:forw_headers
HTTP/1.1 200 OK
Server: squid/6.0.0-VCS

       10 foo
       15 baz
        7 bar
src/client_side_request.cc
src/log/access_log.cc
src/log/access_log.h
src/tests/stub_liblog.cc