[issue21566] make use of the new default socket.listen() backlog argument

STINNER Victor report at bugs.python.org
Fri May 23 23:32:52 CEST 2014


STINNER Victor added the comment:

Maybe we should keep listen(1) in some cases.

For socketpair() of asyncio.windows_utils, it makes sense to use sock.listen(1) since we expect exactly one request from one client. The listening socket is closed just after sock.accept().

----------

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


More information about the Python-bugs-list mailing list