mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +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
|
@ -89,7 +89,7 @@ class TestKQueue(unittest.TestCase):
|
|||
def test_queue_event(self):
|
||||
serverSocket = socket.socket()
|
||||
serverSocket.bind(('127.0.0.1', 0))
|
||||
serverSocket.listen(1)
|
||||
serverSocket.listen()
|
||||
client = socket.socket()
|
||||
client.setblocking(False)
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue