Re: Locking reader lock

2007-08-30 Thread umesh
> Sounds to me like you're sharing a socket with PSM (all that c++ code is > PSM, not NSS) and PSM is doing things to the socket at the same time that > your code is, probably on another thread. Sounds like your socket is > getting closed while you're using it. I can't help you with PSM. Thanks

Re: Locking reader lock

2007-08-29 Thread Nelson Bolyard
[EMAIL PROTECTED] wrote: >> 5) After this I configure the socket to handshake as a server by calling >> SSL_ConfigSecureServer. >> 6) Now I call SSL_ResetHandshake(socket, PR_TRUE). >> >> All these functions execute successfully without any errors. > > >Just thought I should give a bit mo

Re: Locking reader lock

2007-08-29 Thread umesh
> 5) After this I configure the socket to handshake as a server by calling > SSL_ConfigSecureServer. > 6) Now I call SSL_ResetHandshake(socket, PR_TRUE). > > All these functions execute successfully without any errors. Just thought I should give a bit more information. These execute suc

Re: Locking reader lock

2007-08-29 Thread umesh
Hi Nelson: Thanks for your response. I think my upgradation process is just fine. Otherwise my code would have failed all the time. But I am able to perform the handshake sometimes. I think that the problem is with some events getting handled while my upgradation is in process. I'll come t

Re: Locking reader lock

2007-08-28 Thread Nelson Bolyard
Umesh Bywar wrote: > I am having a problem in configuring a socket to do hand shake as server. I > have a socket on which some communication has already taken place. When I try > to upgrade the socket to SSL, the SSL_LOCK_READER(ss) in SSL_ResetHandshake > throws an exception and everything is abo

Locking reader lock

2007-08-28 Thread Umesh Bywar
Hi all: I am having a problem in configuring a socket to do hand shake as server. I have a socket on which some communication has already taken place. When I try to upgrade the socket to SSL, the SSL_LOCK_READER(ss) in SSL_ResetHandshake throws an exception and everything is aborted. Basica