[issue5542] Socket is closed prematurely in httplib, if server sends response before request body has been sent

Jeremy Hylton report at bugs.python.org
Sat Mar 28 05:34:35 CET 2009


Jeremy Hylton <jeremy at alum.mit.edu> added the comment:

I think it makes sense to leave the socket open in this case.  (In
general, I think httplib is too aggressive about closing the socket.) 
I'm checking in a version for py3k, and will get around to backporting
it later.

Committed revision 70643.

----------
resolution:  -> accepted

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5542>
_______________________________________


More information about the Python-bugs-list mailing list