Issue #21566: Make use of socket.listen() default backlog.

This commit is contained in:
Charles-François Natali 2014-07-23 19:28:13 +01:00
parent 8518b79a8d
commit 6e20460dc6
18 changed files with 33 additions and 33 deletions

View file

@ -11,7 +11,7 @@ threading = support.import_module('threading')
HOST = support.HOST
def server(evt, serv):
serv.listen(5)
serv.listen()
evt.set()
try:
conn, addr = serv.accept()