Re: s6, listen(8), etc.

2016-09-06 Thread Laurent Bercot
On 06/09/2016 10:42, Jonathan de Boyne Pollard wrote: One dictum is that if you're using the "LISTEN" protocol for any UCSPI use-case, you are doing it wrong. The name "LISTEN" in "LISTEN_FDS" is a big clue. It's not for accepted socket file descriptors. It's for listening ones. UCSPI deals i

Re: s6, listen(8), etc.

2016-09-06 Thread Jonathan de Boyne Pollard
Laurent Bercot: fds 6 and 7 are only used for UCSPI clients, which are a very minor subset of the programs you'd want to use that mechanism with. Laurent Bercot: I don't want the caller to tell me "here's a bunch of fds, you sort them out": that's just laziness. Just so that everyone is