]> git.ipfire.org Git - thirdparty/squid.git/commit
Delay parsing of options= parameters
authorAmos Jeffries <amosjeffries@squid-cache.org>
Thu, 27 Dec 2018 09:17:49 +0000 (22:17 +1300)
committerAmos Jeffries <yadij@users.noreply.github.com>
Fri, 24 May 2019 11:27:14 +0000 (23:27 +1200)
commit2aa5a7d320b05761153a5445df500ba7f3bd6ca9
tree3b6f80b8732a1f90ffbfa00fee388627f6ab4081
parentb491f7618569893a62a60bfd0448a974e3eea325
Delay parsing of options= parameters

.. until context (or session) creation time after squid.conf parsing.

Since a nil value in parsedOptions has meaning as default settings
we cannot use that to indicate a re-parse required. Add a flag
to set indicating changes have been made and check for a re-parse
when using parsedOptions to update a context or session.
src/security/PeerOptions.cc
src/security/PeerOptions.h