Expand description
sockets used to pass file descriptors SCM_RIGHTS socket for FD passing between master and workers.
Wraps a SeqPacket unix socket and uses the nix SCM_RIGHTS helpers
to ship listener/accept FDs across the master ↔ worker boundary at
startup and across hot upgrades. The borrowed-FD wrappers
(set_blocking) hold an FD without taking ownership; the listener
teardown paths intentionally take ownership through
TcpListener::from_raw_fd so the FD is closed by drop.
Structs§
- Listeners
- Socket addresses and file descriptors of TCP sockets, needed by a Proxy to start listening
- ScmSocket
- A unix socket specialized for file descriptor passing