Home > Archive > Java Security > May 2004 > Re: J2SE SSL, no response on client hello message, no transparent
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: J2SE SSL, no response on client hello message, no transparent
|
|
| Rogan Dawes 2004-05-12, 7:55 pm |
| Nomano wrote:
[color=darkred]
> Already resolved. The problem stays that InputStream.available()
> method doesn't work properly
>
> novakz1@fel.cvut.cz (Nomano) wrote in message news:<37663be8.0405070125.5c13303e@posting.google.com>...
>
If I recall correctly, there is a caveat in the SSLSocket code that says
that, due to the interleaving of handshake and data bytes, available()
may return even when there are no bytes to read.
You may want to check if this is happening to you.
Also check if you are calling flush() on the OutputStream, to send the data.
Regards,
Rogan
--
Rogan Dawes
*ALL* messages to discard@dawes.za.net will be dropped, and added
to my blacklist. Please respond to "nntp AT dawes DOT za DOT net"
|
|
|
|
|