Open jacky309 opened 1 month ago
On Tue, 2024-10-08 at 03:26 -0700, jacky309 wrote:
I would like my server to be socket-activatable (see https://0pointer.de/blog/projects/socket-activation.html). The trick is to use a file descriptor which has already been open by SystemD, rather than creating the server socket by ourselves. As far as I have seen, Pistache does not provide an API which enables passing an existing file descriptor. Is that right ?
It does not. But that's an interesting idea and a PR we would certainly look at.
-- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com
I would like my server to be socket-activatable (see https://0pointer.de/blog/projects/socket-activation.html). The trick is to use a file descriptor which has already been open by SystemD, rather than creating the server socket by ourselves. As far as I have seen, Pistache does not provide an API which enables passing an existing file descriptor. Is that right ?