]> git.ipfire.org Git - thirdparty/squid.git/commit
Improve modularity of IDENT protocol code (#991)
authorAmos Jeffries <yadij@users.noreply.github.com>
Mon, 28 Feb 2022 18:03:54 +0000 (18:03 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 2 Mar 2022 02:15:19 +0000 (02:15 +0000)
commit0b3047784d06d1540cfdc0ea4d753bbe5bf8ff3c
tree5573702cb2f6030b6193a53b38ed6167851eaac8
parentb308d7e2ad02ae6622f380d94d2303446f5831a9
Improve modularity of IDENT protocol code (#991)

Simple changes to further isolate the IDENT code
in ident/libident.la and redux the mainInitialize() sequence.

Ident::Start() is already checking for and triggering ident_hash
initialization. No need to do so in main.cc if there is never
any use of IDENT. Removing one unnecessary memory allocation.
src/ident/Ident.cc
src/ident/Ident.h
src/main.cc