Try SSL_get_error(3) man page. See openssl/demos/tunala/ for sample code. vijo.
On Mon, Mar 11, 2002 at 04:32:52PM -0800, [EMAIL PROTECTED] wrote: > Hi, > > I am searching the openssl source code now but I thought I should also > post a question here. I use SSL_read() on nonblocking socket. SSL_read > () will uses the TCP system call read() to read the data from the > socket. My question is when read() returns EAGAIN, will the control > returned to the caller of SSL_read(). I checked the bss_sock.c file > and it looks like on Solaris system, EAGAIN will be handled as no > retry. But my SSL client is reported a lot of consecutive EAGAIN errors > when I use truss to trace the system calls invoked. I want to find out > if SSL_read() retries the read() internally if the read returns EAGAIN > > Thanks, > Patrick > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]