summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorPierre Ossman (ThinLinc team) <ossman@cendio.se>2024-03-11 19:43:30 (GMT)
committerGitHub <noreply@github.com>2024-03-11 19:43:30 (GMT)
commit1d0d49a7e86257ff95b4de0685e6997d7533993c (patch)
tree57b29921aa8502024674411fb495cc9dfaacaadd /Doc/whatsnew
parent872c0714fcdc168ce4a69bdd0346f2d5dd488ec2 (diff)
downloadcpython-1d0d49a7e86257ff95b4de0685e6997d7533993c.zip
cpython-1d0d49a7e86257ff95b4de0685e6997d7533993c.tar.gz
cpython-1d0d49a7e86257ff95b4de0685e6997d7533993c.tar.bz2
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.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.13.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index 5193990..95e8ff3 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -270,6 +270,11 @@ asyncio
the buffer size.
(Contributed by Jamie Phan in :gh:`115199`.)
+* Add :meth:`asyncio.Server.close_clients` and
+ :meth:`asyncio.Server.abort_clients` methods which allow to more
+ forcefully close an asyncio server.
+ (Contributed by Pierre Ossman in :gh:`113538`.)
+
base64
---