STINNER Victor added the comment:

Oh, I completly forgot the client socket for TCP servers: updated patch. The 
patch version 2 uses fcntl()+FD_CLOEXEC after accept(). It is not atomic, but I 
prefer to leave to problem to issue #10115:

"can be fixed on systems that support it through accept4(), but it seems to 
break badly on some systems, see issue #10115"

----------
Added file: http://bugs.python.org/file28641/socketserver_close_on_exec-2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12107>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to