Closed ghost closed 6 years ago
Would you provide RawFd integration? Should be pretty strait forward.
actually, i think server should accept TcpListener. then you can construct TcpListener from RawFd yourself
it is possible to use HttpServer::listen() for rawfd
Cargo watch does not work because the sometimes the socket that's running will not be closed in time. That's why catflap exists. The problem is that the actix-web server does not allow for servers to be created from a raw file descriptor.
https://github.com/passcod/catflap
There are integrations with hyper and iron but not with actix-web.