[issue21566] make use of the new default socket.listen() backlog argument
Charles-François Natali
report at bugs.python.org
Fri May 23 23:44:56 CEST 2014
Charles-François Natali 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().
Yeah, I thought about that, but almost all operating systems don't
strictly respect the backlog, they always increase it a bit, so this
wouldn't change much.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21566>
_______________________________________
More information about the Python-bugs-list
mailing list