Re: question about gathering data in SSL

2006-09-29 Thread Peter Djalaliev
Nelson, Thanks for the great reply! This gives me a much better idea of the behavior of the code :) I erroneously assumed the connection between SECWouldBlock and PR_WOULD_BLOCK_ERROR (I read the notes.txt file a while ago...). Also, a function in the NSS code would in some cases check if a

question about gathering data in SSL

2006-09-28 Thread Peter Djalaliev
Hello, I have a question about what happens when the first SSL handshake on a SSL connection tries to gather data from a socket that would block (e.g. there is no data tobe read yet). I am using the SSL3 implementation on a Linux platform. So, in Do1stHandshake(), the next handshake function is

Re: question about gathering data in SSL

2006-09-28 Thread Nelson B
Peter Djalaliev wrote: I have a question about what happens when the first SSL handshake on a SSL connection tries to gather data from a socket that would block (e.g. there is no data tobe read yet). Peter, Rather than answer your questions about the functions in the code, one by one, I'm