Hello,
I would love to be able to run meinheld with an existing socket.
The idea would be :
- my app binds a socket and listen to it
- it spawns a meinheld worker and pass the socket.fileno()
- the meinheld server don't bind the socket in that case but just
accepts connections on it
For example, instead of running Meinheld with a host and a port, we
could run it with the FD value:
from meinheld import server
server.listen(socket_fd=THE_FD_VALUE)
server.run(my_app)
You can read more about this idea here:
http://blog.ziade.org/2012/06/12/shared-sockets-in-circus/
Cheers
Tarek