Yes, the server sent me all the data and then closed the connection.
And NSPR should have received all the data and stored in its buffers.
The returned the data to the client application through PR_Read.
But this is not happening because PR_Read returns 0, even though it should
have more data in its buffers.
We have the exact same code on Windows and there NSPR seems to work fine.
i.e PR_Read returns data properly.
Thanks
Vinu
"Nelson Bolyard" <nonelsons...@nobolyardspam.me> wrote in message
news:hbcdnu0a9klfuotxnz2dnuvz_hedn...@mozilla.org...
VinuT wrote, On 2009-05-22 16:26 PDT:
We are using NSPR/NSS for SSL communication on Solaris8.
Right now, we are using it as a client to communicate to another SSL
server
running on windows.
However my PR_Read call returns with 0, when its called a second time.
The first calls succeeds and returns me some data in the buffer.
Can anybody throw some light as to what is going wrong here?
Are you sure that anything is wrong?
Is it possible that the first buffer contained all the data from the
server?
Did the server send you the data and then close the connection?
If you're not sure, try using ssltap.
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto