You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add Unix domain socket (UDS) listener support
Add support for listening on Unix domain sockets, enabling lower-latency
same-host communication for reverse proxy setups (e.g., Nginx -> Drogon).
Server API:
app().addListener(/var/run/drogon.sock);
Config file:
{listeners: [{unix_socket: /var/run/drogon.sock}]}
Changes:
- Add HttpAppFramework::addListener(unixSocketPath) overload (POSIX only)
- Add ListenerManager::addUnixListener() with UDS HttpServer creation
- Add ConfigLoader support for 'unix_socket' field in listener config
- Socket file is automatically cleaned up on server stop
- Includes Trantor changes: InetAddress AF_UNIX support, Socket fixes
Addresses #1153
0 commit comments