[issue7806] httplib.HTTPConnection.getresponse closes socket which destroys the response
R. David Murray
report at bugs.python.org
Sun Feb 21 21:49:00 CET 2010
R. David Murray <rdmurray at bitdance.com> added the comment:
So HTTConnection is closing the thing returned by makefile and that is closing the socket, except that the socket library makes sure it doesn't actually close the socket until the dupped file handle is also closed? I guess I need to look at this more closely when I have time in order to fully understand it.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list