urllib.urlopen patch causes reading beyond last byte of https responses to take unreasonably long
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
m2crypto (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Importing M2Crypto patches `urllib.urlopen` to "better" support https (possibly a hangover from when urllib didn't support it at all?). The version in natty does not correctly process the end of the response, and takes approximately 300 seconds to return.
Example:
import urllib
d = urllib.urlopen("https:/
from M2Crypto import SSL
d = urllib.urlopen("https:/
These should be equivalent.
user@ubuntu:
Description: Ubuntu 11.04
Release: 11.04
user@ubuntu:
python-m2crypto:
Installed: 0.20.1-1ubuntu5
Candidate: 0.20.1-1ubuntu5
Version table:
*** 0.20.1-1ubuntu5 0
500 http://
100 /var/lib/
Marking as confirmed. Thank you for the example code.