httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bannister <is...@c8h10n4o2.org.uk>
Subject Re: [PATCH] Add "FreeListen" to support IP_FREEBIND
Date Tue, 08 Mar 2016 17:23:22 GMT
On 8 Mar 2016, at 09:25, Yann Ylavic <ylavic.dev@gmail.com> wrote:
> On Tue, Mar 8, 2016 at 9:46 AM, Yann Ylavic <ylavic.dev@gmail.com> wrote:
>> On Tue, Mar 8, 2016 at 9:28 AM, Jan Kaluža <jkaluza@redhat.com> wrote:
>>> 
>>> I have chosen FreeListen over the flags
>> 
>> FWIW, should be take the YAD path, I'd prefer ListenFree (over
>> FreeListen) to emphasize on the "Listen directive family" with a
>> prefix...
> 
> Thinking more about this, I think I second Jim on the wish to have a
> single Listen directive with some parameter like
> "options=freebind,backlog:4095,reuseport,...".
> 
> We could then whatever (new) IP option more easily (less docs work...)
> and maybe deprecate ListenBacklog.

+1

I thought of having an feature / module for having a separate process bind the listening TCP
socket (and send the FD to httpd over an AF_UNIX socket*), ending up with the same "options=freebind,backlog:4095,reuseport,..."
concept.

I'm presuming that “options=protocol:https” would be fine too, and “https” on its
own would be taken to be a deprecated shorthand?


* similar to how https://github.com/JiriHorky/privbind works

-- 
Tim Bannister – isoma@c8h10n4o2.org.uk


Mime
View raw message