[squid-dev] How Squid parse the configuration file?
zhoushulin1992 at gmail.com
Tue Feb 21 08:15:15 UTC 2017
I found the src/cf.data.pre file, and read the content. But I still want to
know how squid use this file to build the connection between the config
file and the source code.
For example, a user's config file has a config option
"maximum_object_size_in_memory", in "src/cf.data.pre", it indicate that the
relevant program variable of this config option is
"Config.Store.maxInMemObjSize". So how squid assign the value of
"maximum_object_size_in_memory" in config file
Thank you very much!
2017-01-13 22:14 GMT+08:00 Stuart Henderson <stu at spacehopper.org>:
> On 2017-01-13, 周书林 <zhoushulin1992 at gmail.com> wrote:
> > Why some of the configuration directives in official website cannot find
> > the source code? Some could find a relevant program variable in Class
> > SquidConfig, while majority of the configuration directives cannot be
> > in the source code, for example , directive "announce_port".
> > So how does Squid parse the configuration file of Users, and use them in
> > the source code?
> The parser, sample config, etc, are all generated from src/cf.data.pre.
> squid-dev mailing list
> squid-dev at lists.squid-cache.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the squid-dev