setSoTimeout() returns -1 for secure sockets
Hi All,
I am having a client app which creates a secure socket connection with the server.
Then does a setSoTimeout(90000) and starts reading.
When the timeout happens, I would expect a InterruptedIOException to be thrown but instead I receive a -1 which is not as specified in the API doc.
If I create non-secure or normal socket connection, I am able to get to the InterruptedIOException on the timeout.
Pls help if anybody has encountered this kind of problem.
Thanks,
Alagiri

