Scott Dial <[email protected]> added the comment:
I tracked the necessary change to r73638 and issue6267. However, I am
not sure it is in scope to backport all of that.
The only changed actually needed from this set to make SocketServer
behave correctly with a SSLSocket is:
def close_request(self, request):
"""Called to clean up an individual request."""
+ #explicitly shutdown. socket.close() merely releases
+ #the socket and waits for GC to perform the actual close.
+ request.shutdown(socket.SHUT_WR)
request.close()
Hence in my py26 patch, I have made a call to shutdown() within the
handler. I would call this a bug, but nobody seems to have noticed but
me, so I defer to you about the best solution.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue5949>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com