Public bug reported:

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://www.google.com/";).read() # returns almost at once
from M2Crypto import SSL
d = urllib.urlopen("https://www.google.com/";).read() # returns about 300 
seconds later

These should be equivalent.

user@ubuntu:~/projects/world$ lsb_release -rd
Description:    Ubuntu 11.04
Release:        11.04
user@ubuntu:~/projects/world$ apt-cache policy python-m2crypto
python-m2crypto:
  Installed: 0.20.1-1ubuntu5
  Candidate: 0.20.1-1ubuntu5
  Version table:
 *** 0.20.1-1ubuntu5 0
        500 http://gb.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
        100 /var/lib/dpkg/status

** Affects: m2crypto (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to m2crypto in Ubuntu.
https://bugs.launchpad.net/bugs/853908

Title:
  urllib.urlopen patch causes reading beyond last byte of https
  responses to take unreasonably long

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/m2crypto/+bug/853908/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to