Re: Running an HTTP(S) server using an externally-provided file descriptor

2024-05-02 Thread Chris Angelico
On Thu, 2 May 2024 at 19:15, Henrik Grubbström (Lysator) @ Pike (-) developers forum <10...@lyskom.lysator.liu.se> wrote: > > Hi again Chris. > > > On Thu, 2 May 2024 at 17:58, Henrik Grubbström (Lysator) @ Pike (-) > > developers forum <10...@lyskom.lysator.liu.se> wrote: > > > > > > Does

Re: Running an HTTP(S) server using an externally-provided file descriptor

2024-05-02 Thread Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum
Hi again Chris. > On Thu, 2 May 2024 at 17:58, Henrik Grubbström (Lysator) @ Pike (-) > developers forum <10...@lyskom.lysator.liu.se> wrote: > > > > Does SSL.Port()->listen_fd() not work? > > Inside HTTP.Server.Port, it kinda does, I think? I didn't run into any > actual problems. > > Inside

Re: Running an HTTP(S) server using an externally-provided file descriptor

2024-05-02 Thread Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
>This may be the solution to both problems. Let me see if I understand >you correctly. The variant create would take just the Context, and >then before the SSLPort becomes useful, you call listen_fd() and then >set the callback? Yes, or maybe set the callback before listen_fd(). In any case the

Re: Running an HTTP(S) server using an externally-provided file descriptor

2024-05-02 Thread Chris Angelico
On Thu, 2 May 2024 at 17:58, Henrik Grubbström (Lysator) @ Pike (-) developers forum <10...@lyskom.lysator.liu.se> wrote: > > Hi Chris. > > > See branch rosuav/pre-listening-ports for a first attempt at this. > > > > With Stdio.Port(), it's possible to receive an open socket as a file > >