curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: feature request: support specifying Unix socket with systemd directive OpenFile=

From: Dan Fandrich via curl-users <curl-users_at_lists.haxx.se>
Date: Thu, 22 Jun 2023 08:52:17 -0700

On Thu, Jun 22, 2023 at 09:30:11AM +0200, Erik Sjölund via curl-users wrote:
> My first idea was to let curl look up the file descriptor number from
> the fdname.
> Curl could look up the file descriptor number by checking the
> colon-separated list of fdnames in the environment variable LISTEN_FDNAMES.

How about just doing this like inetd and passing the fd in as stdin? Surely,
systemd can do that.
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-06-22