Re: PR_Read fails second time on Solaris 8

2009-05-27 Thread Nelson B Bolyard
Vinu wrote, on 2009-05-27 15:26 PDT: > The server sends the data and then closes the connection(becuase we use HTTP > Connection:close and not Keep-Alive). > > But shouldnt PR_Read return the entire data and then only return 0(becuase > the connection is closed). > How can it return 0, before al

Re: PR_Read fails second time on Solaris 8

2009-05-27 Thread Vinu
Hi Nelson, Yes, I did some more tests. The server sends the data and then closes the connection(becuase we use HTTP Connection:close and not Keep-Alive). But shouldnt PR_Read return the entire data and then only return 0(becuase the connection is closed). How can it return 0, before all the

Re: PR_Read fails second time on Solaris 8

2009-05-27 Thread Vinu
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

Re: PR_Read fails second time on Solaris 8

2009-05-24 Thread Nelson Bolyard
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 succeed