Message7879
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/ |
|
Date |
User |
Action |
Args |
2013-03-01 09:13:33 | erikive | set | messageid: <1362129213.78.0.583991819467.issue2021@psf.upfronthosting.co.za> |
2013-03-01 09:13:33 | erikive | set | recipients:
+ erikive, fwierzbicki, amak |
2013-03-01 09:13:33 | erikive | link | issue2021 messages |
2013-03-01 09:13:33 | erikive | create | |
|