]> git.ipfire.org Git - thirdparty/squid.git/commit - src/tests/testAuth.cc
Quoted values in squid.conf
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Sun, 21 Jul 2013 19:24:35 +0000 (22:24 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Sun, 21 Jul 2013 19:24:35 +0000 (22:24 +0300)
commit2eceb328ef857482d29d0b170856bf6213015c1c
treebc2faeaeb7909051dc47892b700c62f12fd8bfbf
parent6de3828e84a00a8e8d407b21c4f6512637d85930
Quoted values in squid.conf

This patch :
  - adds support for quoted values in the entire squid.conf
  - warn about or prohibit values that can no longer be interpreted as
    either quoted strings or simple tokens
  - support parameters("/path/to/file.name") syntax to load external
    configuration files
  - Checks if macros allowed in "double quoted" values.
  - replaces the strtok() calls with calls to the new ConfigParser::NextToken()
  - modify strtokFile to use new ConfigParser::NextToken()
  - Add the new configuration_includes_quoted_values configuration option, to
    control the squid parser behaviour. If set to on Squid will recognize each
    "quoted string" after a configuration directive as a single parameter

This is a Measurement Factory project
27 files changed:
src/ConfigParser.cc
src/ConfigParser.h
src/HelperChildConfig.cc
src/Notes.cc
src/Parsing.cc
src/SwapDir.cc
src/acl/Acl.cc
src/acl/Gadgets.cc
src/adaptation/Config.cc
src/adaptation/ServiceConfig.cc
src/adaptation/ServiceGroups.cc
src/cache_cf.cc
src/cf.data.pre
src/cf_gen.cc
src/external_acl.cc
src/format/Config.cc
src/format/Format.h
src/ip/QosConfig.cc
src/log/Config.cc
src/tests/stub_cache_cf.cc
src/tests/testACLMaxUserIP.cc
src/tests/testAuth.cc
src/tests/testConfigParser.cc
src/tests/testCoss.cc
src/tests/testRock.cc
src/tests/testUfs.cc
src/wccp2.cc