On Sun, Nov 14, 2010 at 11:53 AM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> The -a option was broken by some config updates early in the 3.x cycles
> which reset SquidConfig prior to parsing but after opening the -a provided
> port.
>
> This patch preserves the documented -a behaviour of opening an HTTP listener
> port from the command line.
> It also adds the double port opening for split-stack systems, preserving
> consistency with wildcard http_port entries in the config.
>
>
> Overall, I'm not sure we actually need the -a option. Especially given that
> it appears to have been a few years before anyone noticed its being broken.
> What are peoples thoughts on deprecating it for removal in 3.3?
+1 for deprecating.
It'd be much more generic and interesting to allow specifying
arbitrary config file lines (to be interpreted before loading
squid.conf)
e.g.
squid -c 'http_port 3128' -f squid.conf
-- /kinkieReceived on Sun Nov 14 2010 - 17:56:27 MST
This archive was generated by hypermail 2.2.0 : Thu Nov 18 2010 - 12:00:05 MST