hi,

I modified the example SSL socket code that comes with NSS to use non
blocking sockets. In a single process, I have a server socket that
listens for client socket connections and a client socket that attempts
to connect to the server socket from a different thread. Both sockets
are SSL sockets -- the only difference between them is that the server
socket handshakes as a server. When the client attempts to connect to
the server, the process crashes on PR_Read() with the following
assertion:

Assertion failure: ssl_Have1stHandshakeLock(ss), at sslgathr.c:143

I'd appreciate it if someone could tell me what I'm doing wrong and how
I could fix this problem.

Thanks in advance,
Yariv

_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to