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

Guy Kloss report at bugs.python.org
Thu Feb 24 04:45:38 CET 2011


Guy Kloss <guy.kloss at arcor.de> added the comment:

I know this issue is marked as fixed, and won't be backported to 2.6. But the fix is simple enough to self perform on 2.6. Doing that I have discovered an issue that might still be present with the fix, as it was not discussed here, yet, but is still related.

Whenever one does the same thing, but uses an SSL connection (HTTPS), the socket.error is raised from within ssl.py (line 174).

Even though the send() call in httplib does not misbehave now, when using an SSL encrypted connection the ssl module still throws you in front of a bus.

----------
nosy: +guy.kloss

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


More information about the Python-bugs-list mailing list