commit | b205d58d0db38581d60d3de99ce27ab88a773c9b | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sun Jan 02 22:09:27 2011 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sun Jan 02 22:09:27 2011 +0000 |
tree | 25a04fe73270c6cac2f42b9632e9353e6c1b2494 | |
parent | 4a67a46543db0cec1a23106fa0bad9df5c351828 [diff] [blame] |
Add a shutdown() call in the server example.
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 @@ 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