summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/ssl.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index a9daf16..aaa3871 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -888,6 +888,7 @@ method to create a server-side SSL socket for the connection::
try:
deal_with_client(connstream)
finally:
+ connstream.shutdown(socket.SHUT_RDWR)
connstream.close()
Then you'll read data from the ``connstream`` and do something with it till you