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. Basically, 
_PR_MD_LOCK(&lock->ilock) in prulock.c throws the exception. Now, before I 
proceed on upgrading the socket, I've written something to the client and 
client has sent its response, but I don't read it. I proceed to the socket 
upgradation instead. Is it what is causing the problem in locking the reader? 
Any idea how to tackle this? Strangely enough, this doesn't happen all the 
time. Sometimes the SSL_ResetHandshake  successfully upgrades the socket.
    Please let me know if more infomation is required. 
    Thanks.

Best Regards.
Umesh.
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to