[issue8498] Cannot use backlog = 0 for sockets

Jean-Paul Calderone report at bugs.python.org
Sun Apr 25 03:16:21 CEST 2010


Jean-Paul Calderone <exarkun at twistedmatrix.com> added the comment:

It'd be nice to have a unit test that passes a small enough value to listen() to trigger the check.  Since there's no way to reliably determine what the system backlog really is, there's probably no reason to actually try to determine that the "right" value was passed to listen.  Just making sure the code actually goes through the success-case when this check is hit is probably enough.

----------

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


More information about the Python-bugs-list mailing list