]> granicus.if.org Git - python/commitdiff
asyncio: Server.close() leaves client sockets open
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 12 Jul 2014 01:20:24 +0000 (03:20 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 12 Jul 2014 01:20:24 +0000 (03:20 +0200)
Doc/library/asyncio-eventloop.rst

index 993a5dea4456dbd4183f4f371a0ad0e6db66fce8..6fe5aa1b2018026f33090fc34f35500747e5bd1a 100644 (file)
@@ -567,8 +567,11 @@ Server
 
    .. method:: close()
 
-      Stop serving: close all sockets and set the :attr:`sockets` attribute to
-      ``None``.
+      Stop serving: close listening sockets and set the :attr:`sockets`
+      attribute to ``None``.
+
+      The sockets that represent existing incoming client connections are
+      leaved open.
 
       The server is closed asynchonously, use the :meth:`wait_closed` coroutine
       to wait until the server is closed.