[issue15523] Block on close TCP socket in SocketServer.py
Charles-François Natali
report at bugs.python.org
Sat Sep 1 18:54:00 CEST 2012
Charles-François Natali added the comment:
> So when calling close_request to deallocate the socket, it will
> always be waiting to read response until response data is available.
> It seems like an issue in SokcetServer.py library.
Hum, I don't see what you mean.
Even if there is still data in the receive socket buffer, socket.clos() shouldn't block. Actually, it should result in a RST being sent.
Could you describe your problem more precisely (with a code snippet it would be better)?
----------
nosy: +neologix
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15523>
_______________________________________
More information about the Python-bugs-list
mailing list