[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

Charles-François Natali report at bugs.python.org
Mon May 23 14:14:22 CEST 2011


Charles-François Natali <neologix at free.fr> added the comment:

> Oh, Linux 2.6.27+ has a SOCK_CLOEXEC option:

It's not exactly the same thing.
We want to close the socket right after fork, not wait until exec (in the OP case there was no exec).

> Patch looks fine to me. Is it easily testable?

Easily, no.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5715>
_______________________________________


More information about the Python-bugs-list mailing list