Re: [RFC] unified port directive

From: Kinkie <gkinkie_at_gmail.com>
Date: Mon, 9 Jun 2014 10:13:48 +0200

Sounds like a good idea to me.

On Mon, Jun 9, 2014 at 7:07 AM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> Hi,
>
> I propose that we combine the http_port and https_port directives into
> a single directive called "port" with the old names as aliases and an
> option to select between TCP and TLS transport protocol.
>
> The two directives already share almost all configuration options and
> processing logic inside Squid. This will allow us to:
> 1) de-duplicate a lot of code managing each set of ports as separate
> lists, and
> 2) more easily add UDP (CoAP), SCTP, SOCKS, and potentially other
> protocols as the transport under HTTP in future.
>
> I expect this to impact the configuration code
> startup/reconfigure/shutdown, the comm/Mod*, and possibly other places
> such as myportname ACL and getMyHostname() [which will improve].
>
> Backward compatibility is easily done so the user visible impact is
> small. Limited to users down-grading their Squid versions.
>
> Amos

-- 
    Francesco
Received on Mon Jun 09 2014 - 08:13:58 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 09 2014 - 12:00:11 MDT