[Python-bugs-list] [ python-Bugs-458835 ] SSL support in httplib causes exception (original) (raw)
noreply@sourceforge.net noreply@sourceforge.net
Thu, 11 Oct 2001 10:48:45 -0700
- Previous message: [Python-bugs-list] [ python-Bugs-232460 ] SSL Support (Apparently) Broken on Solaris
- Next message: [Python-bugs-list] [ python-Bugs-232460 ] SSL Support (Apparently) Broken on Solaris
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Bugs item #458835, was opened at 2001-09-05 11:48 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=458835&group_id=5470
Category: Python Library Group: Python 2.1.1
Status: Closed Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Jeremy Hylton (jhylton) Summary: SSL support in httplib causes exception
Initial Comment: in class 'FakeSocket', method 'makefile' line 593:
except socket.sslerror,msg:
doesn't work as the socketmodule.c code raises socket.error not socket.sslerror; perhaps:
except (socket.error,socket.sslerror), msg:
or
except socket.error, msg:
Comment By: Jeremy Hylton (jhylton) Date: 2001-10-11 10:48
Message: Logged In: YES user_id=31392
Most likely fixed by rev. 1.41 of httplib.py. The original error report isn't clear enough, because most socket errors are legitimate errors and shouldn't be caught inside makefile(). I've added a handler for EINTR, but nothing else.
Since the poster was anonymous, I'll just close this and assume it's fixed enough.
You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=458835&group_id=5470
- Previous message: [Python-bugs-list] [ python-Bugs-232460 ] SSL Support (Apparently) Broken on Solaris
- Next message: [Python-bugs-list] [ python-Bugs-232460 ] SSL Support (Apparently) Broken on Solaris
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]