]> git.ipfire.org Git - thirdparty/squid.git/commit
fixup: Ensure new callback invariants for Ident
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 16 Jul 2021 15:58:31 +0000 (11:58 -0400)
committerAlex Rousskov <rousskov@measurement-factory.com>
Fri, 16 Jul 2021 17:33:09 +0000 (13:33 -0400)
commitf8f68ed919c110633dd98cb78c10336b094b9e64
treeffb8f9c99c6d4a6569291b55bced8bc6aeb1e4c9
parentd518243a26d03d1db34f45243548024144db6a12
fixup: Ensure new callback invariants for Ident

The (fake) swanSong() is now dedicated to last-resort callbacks while
the newly added destructor checks and cleans up.

Also fixed swanSong() bug that left a dangling hash.key pointer.

Also explicitly initialize IdentStateData::clients. Not sure whether it
was properly initialized before.
src/ident/Ident.cc