1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 22:49:21 +02:00

Feature uds: Add listen_uds to ServerBuilder (#1085)

Allows using an existing Unix Listener instead of binding to a path.
Useful for when running as a daemon under systemd.

Change-Id: I54a0e78c321d8b7a9ded381083217af590e9a7fa
This commit is contained in:
karlri
2019-09-25 11:16:51 +02:00
committed by Nikolay Kim
parent 959f7754b2
commit c659c33919
3 changed files with 35 additions and 1 deletions

View File

@ -11,6 +11,9 @@
* Allow to re-construct `ServiceRequest` from `HttpRequest` and `Payload`
* Add `HttpServer::listen_uds` for ability to listen on UDS FD rather than path,
which is useful for example with systemd.
### Changed
* Make UrlEncodedError::Overflow more informativve