mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Issue #21566: Make use of socket.listen() default backlog.
This commit is contained in:
parent
8518b79a8d
commit
6e20460dc6
18 changed files with 33 additions and 33 deletions
|
@ -451,7 +451,7 @@ class TestTimeouts(TestCase):
|
|||
del self.thread # Clear out any dangling Thread objects.
|
||||
|
||||
def server(self, evt, serv):
|
||||
serv.listen(5)
|
||||
serv.listen()
|
||||
evt.set()
|
||||
try:
|
||||
conn, addr = serv.accept()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue