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

2011-02-23 Thread Guy Kloss

Guy Kloss  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 
<http://bugs.python.org/issue5542>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-02-28 Thread Guy Kloss

Guy Kloss  added the comment:

I would open a new issue if I had it verified. But I can't verify it right now, 
as I cannot install the dependencies for a Py2.7 (or 3.x) for running my 
failing code on the server (running Ubuntu Lucid/LTS).

Unless you're saying I should open an issue for it anyway, without having it 
verified on 2.7 or 3.x ...

--

___
Python tracker 
<http://bugs.python.org/issue5542>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com