Message7879

Author erikive
Recipients amak, erikive, fwierzbicki
Date 2013-03-01.09:13:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362129213.78.0.583991819467.issue2021@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Alan, thank you for your reply and fix. I have tested my code with your latest commit and the HTTPSConnection does indeed work!

But if I change to use urllib2 with HTTPBasicAuthHandler to request my https-url, I still receive socket problems. 

My urrlib2 test works fine with jython2.5.3, does not work at all with 2.7b1 (i.e. same result as prior of your commit), and with your latest commit (baf84d8e91d0) I get the following problem:

[...]
File "jytest.py", line 59, in urllib2test
    data = urllib2.urlopen(URL).read()
[...]
File "/Users/erikiveroth/Workspace/sandbox/jython/dist/Lib/socket.py", line 1669, in read
    data = self._sock.recv(recv_size)
File "/Users/erikiveroth/Workspace/sandbox/jython/dist/Lib/socket.py", line 174, in handle_exception
    raise _map_exception(jlx)
socket.error: [Errno 32] Socket closed

Full stack-trace and testcode: http://247bc66123446939.paste.se/
History
Date User Action Args
2013-03-01 09:13:33erikivesetmessageid: <1362129213.78.0.583991819467.issue2021@psf.upfronthosting.co.za>
2013-03-01 09:13:33erikivesetrecipients: + erikive, fwierzbicki, amak
2013-03-01 09:13:33erikivelinkissue2021 messages
2013-03-01 09:13:33erikivecreate