[Python-checkins] r87654 - python/branches/py3k/Doc/library/ssl.rst
antoine.pitrou
python-checkins at python.org
Sun Jan 2 23:09:27 CET 2011
Author: antoine.pitrou
Date: Sun Jan 2 23:09:27 2011
New Revision: 87654
Log:
Add a shutdown() call in the server example.
Modified:
python/branches/py3k/Doc/library/ssl.rst
Modified: python/branches/py3k/Doc/library/ssl.rst
==============================================================================
--- python/branches/py3k/Doc/library/ssl.rst (original)
+++ python/branches/py3k/Doc/library/ssl.rst Sun Jan 2 23:09:27 2011
@@ -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
More information about the Python-checkins
mailing list