diff options
author | Yury Selivanov <yury@magic.io> | 2016-09-15 14:13:15 -0400 |
---|---|---|
committer | Yury Selivanov <yury@magic.io> | 2016-09-15 14:13:15 -0400 |
commit | a1b0e7db7315ff0d8d0f8edc056f387f198cf5a1 (patch) | |
tree | fec197b937b7573fb1558aa9ce4e6b0d75557f24 /Lib/asyncio/proactor_events.py | |
parent | 4357cf62028964eb1a56c503ec1296de3034b77b (diff) | |
download | cpython-a1b0e7db7315ff0d8d0f8edc056f387f198cf5a1.tar.gz cpython-a1b0e7db7315ff0d8d0f8edc056f387f198cf5a1.zip |
Issue #27906: Fix socket accept exhaustion during high TCP traffic.
Patch by Kevin Conway.
Diffstat (limited to 'Lib/asyncio/proactor_events.py')
-rw-r--r-- | Lib/asyncio/proactor_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/proactor_events.py b/Lib/asyncio/proactor_events.py index 97ab487f974..fef3205877f 100644 --- a/Lib/asyncio/proactor_events.py +++ b/Lib/asyncio/proactor_events.py @@ -494,7 +494,7 @@ class BaseProactorEventLoop(base_events.BaseEventLoop): self._csock.send(b'\0') def _start_serving(self, protocol_factory, sock, - sslcontext=None, server=None): + sslcontext=None, server=None, backlog=100): def loop(f=None): try: |