[Python-bugs-list] [ python-Bugs-535619 ] HTTPS not working in httplib

noreply@sourceforge.net noreply@sourceforge.net
Tue, 26 Mar 2002 23:55:35 -0800


Bugs item #535619, was opened at 2002-03-26 23:55
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=535619&group_id=5470

Category: Python Library
Group: Python 2.1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: K. C. Wong (dvusboy)
Assigned to: Nobody/Anonymous (nobody)
Summary: HTTPS not working in httplib

Initial Comment:
It appears there is a bug in httplib.py where sendall()
is called on a socket object (line 391). But in the
case of a HTTPSConnection, a socket is actually a
FakeSocket object and the sendall() call will be mapped
to the underlying socket instead of the SSL object,
causing the server to drop connection.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=535619&group_id=5470