Commit adf8ef26 authored by Antoine Pitrou's avatar Antoine Pitrou

Add a shutdown() call in the server example.

parent e7f450d5
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment