homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jasonbrady
Recipients
Date 2006年05月11日.02:30:55
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=1520816
I would like to confirm that this bug still exists. A simple
example, from the docs no less, that fails.
If you set any timeout on sockets, and try to make an ssl
connection, you get "socket.sslerror: (2, 'The operation did
not complete (read)')".
This is running on Windows XP Professional, SP2, latest
python 2.4.3.
-------------------------------------------------------------
import socket
print 'Timeout: '
print socket.getdefaulttimeout()
socket.setdefaulttimeout(None)
print 'Timeout: '
print socket.getdefaulttimeout()
import httplib
conn = httplib.HTTPSConnection("sourceforge.net")
conn.request("GET", "/projects/python/")
r1 = conn.getresponse()
print r1.status, r1.reason
data1 = r1.read()
conn.close()
print data1
-----------------------------------------------------------
History
Date User Action Args
2007年08月23日 14:39:00adminlinkissue1462352 messages
2007年08月23日 14:39:00admincreate

AltStyle によって変換されたページ (->オリジナル) /