Skip to content

Commit 93c5b00

Browse files
committed
asyncio: Server.close() leaves client sockets open
1 parent 93856d4 commit 93c5b00

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Doc/library/asyncio-eventloop.rst

+5-2
Original file line numberDiff line numberDiff line change
@@ -567,8 +567,11 @@ Server
567567

568568
.. method:: close()
569569

570-
Stop serving: close all sockets and set the :attr:`sockets` attribute to
571-
``None``.
570+
Stop serving: close listening sockets and set the :attr:`sockets`
571+
attribute to ``None``.
572+
573+
The sockets that represent existing incoming client connections are
574+
leaved open.
572575

573576
The server is closed asynchonously, use the :meth:`wait_closed` coroutine
574577
to wait until the server is closed.

0 commit comments

Comments
 (0)