mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +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
|
@ -107,7 +107,7 @@ class ForkServer(object):
|
|||
address = connection.arbitrary_address('AF_UNIX')
|
||||
listener.bind(address)
|
||||
os.chmod(address, 0o600)
|
||||
listener.listen(100)
|
||||
listener.listen()
|
||||
|
||||
# all client processes own the write end of the "alive" pipe;
|
||||
# when they all terminate the read end becomes ready.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue