Hello there, I'm doing some java development that involves JSSE and
i've ran into a problem that i can't figure out and was wondering if any
of you guys have had the same problem. What i have encountered is a bug
in SSLSocket while calling setSoTimeout() with a value other than 0.  If
i set the SO_TIMEOT to be greater than 0, any subsequent read() on the
InputStream for the SSLSocket returns -1, signifying the end of the
stream... although the stream has not been closed.  I've tried setting
it to 0 and calling an interrupt() on the read() but that dosn't work
due to some other bug.  I've verified that my code owrks because i can
send a java.net.Socket to the same method and everything goes as
expected, its the SSLSocket that is causing me problems.  I've found
messages posted at the boards on java.sun.com but only a few.  I don;t
know if it makes a difference but i am wrapping an existing socket, not
creating an SSLSocket from scratch.

Any help would be greatly appreciated... thanks.


[EMAIL PROTECTED]
http://www.briandilley.com



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to