[squid-dev] How Squid parse the configuration file?

Stuart Henderson stu at spacehopper.org
Fri Jan 13 14:14:56 UTC 2017


On 2017-01-13, 周书林 <zhoushulin1992 at gmail.com> wrote:
> Why some of the configuration directives in official website cannot find in
> the source code? Some could find a relevant program variable in Class
> SquidConfig, while majority of the configuration directives cannot be found
> 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.




More information about the squid-dev mailing list