]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-113538: Add asycio.Server.{close,abort}_clients (#114432)
authorPierre Ossman (ThinLinc team) <ossman@cendio.se>
Mon, 11 Mar 2024 19:43:30 +0000 (20:43 +0100)
committerGitHub <noreply@github.com>
Mon, 11 Mar 2024 19:43:30 +0000 (12:43 -0700)
commit1d0d49a7e86257ff95b4de0685e6997d7533993c
tree57b29921aa8502024674411fb495cc9dfaacaadd
parent872c0714fcdc168ce4a69bdd0346f2d5dd488ec2
gh-113538: Add asycio.Server.{close,abort}_clients (#114432)

These give applications the option of more forcefully terminating client
connections for asyncio servers. Useful when terminating a service and
there is limited time to wait for clients to finish up their work.
Doc/library/asyncio-eventloop.rst
Doc/whatsnew/3.13.rst
Lib/asyncio/base_events.py
Lib/asyncio/events.py
Lib/asyncio/proactor_events.py
Lib/asyncio/selector_events.py
Lib/test/test_asyncio/test_server.py
Misc/NEWS.d/next/Library/2024-01-22-15-50-58.gh-issue-113538.v2wrwg.rst [new file with mode: 0644]