Issue1049
Created on 2008-06-08.01:00:31 by pjenvey, last changed 2013-02-25.23:50:30 by amak.
msg3242 (view) |
Author: Philip Jenvey (pjenvey) |
Date: 2008-06-08.01:00:29 |
|
This test is currently disabled because the SSL handshaking appears to
deadlock when the server has rudely closed the connection
|
msg3274 (view) |
Author: Alan Kennedy (amak) |
Date: 2008-06-11.18:44:00 |
|
This appears to be a java issue.
The attached java file implements the same series of java calls as the
jython test_rude_shutdown; the test hangs on the
ssl_socket.startHandshake().
This happens regardless if the socket was created with java.nio (as the
jython socket module does) or with java.net (sometimes the socket
creation method can affect later behaviour).
Given that this bug can be recreated with pure java equivalent to the
failing jython, it is likely that this is a java bug.
If it is a bug at all; I'm a little dubious about an SSL client
handshaking with a non-SSL server socket. But if the test passes on
cpython, then it is obviously a valid thing to do, on some platforms at
least.
I'd like to do a little more reading before raising a bug with Sun about
this. Meantime, all thoughts and opinions welcome.
BTW, I tested this on Ubuntu and Sun JDK 1.5.0_13. Will test on other
platforms also.
|
msg4541 (view) |
Author: Alan Kennedy (amak) |
Date: 2009-04-19.15:46:17 |
|
I'm adding a new version of the SSLConnectTest.java file, which properly
sets up an SSL server socket for the client to connect to.
I'm also uploading a JKS (Java KeyStore) file, containing a
self-generated key, required for opening a server SSL socket.
|
msg4542 (view) |
Author: Alan Kennedy (amak) |
Date: 2009-04-19.15:46:34 |
|
Uploading the test keystore.
|
msg4543 (view) |
Author: Alan Kennedy (amak) |
Date: 2009-04-19.15:48:39 |
|
I'm starting to think that the failing test is bogus.
The expectation that a client SSL socket should be able to handshake
with a non-SSL server socket is flawed.
But the attached code still hangs, even when the server side is an SSL
socket. I will work on this code to see why it hangs.
|
msg7777 (view) |
Author: Alan Kennedy (amak) |
Date: 2013-02-25.23:50:30 |
|
Closing this issue as invalid.
|
|
Date |
User |
Action |
Args |
2013-02-25 23:50:30 | amak | set | status: open -> closed resolution: invalid messages:
+ msg7777 |
2009-04-19 15:48:39 | amak | set | messages:
+ msg4543 |
2009-04-19 15:46:36 | amak | set | files:
+ test_keystore.jks messages:
+ msg4542 |
2009-04-19 15:46:18 | amak | set | files:
+ SSLConnectTest.java messages:
+ msg4541 |
2009-04-19 15:26:07 | amak | set | files:
- SSLConnectTest.java |
2009-03-14 03:10:46 | fwierzbicki | set | priority: normal -> low |
2008-12-17 19:13:03 | fwierzbicki | set | priority: normal |
2008-06-11 18:44:01 | amak | set | files:
+ SSLConnectTest.java messages:
+ msg3274 |
2008-06-08 01:00:31 | pjenvey | create | |
|