Often a look at errno can be instructive. Compiling SSL in debug and stepping through the code when the error occurs can also be very useful.
-----Original Message-----
From: Venugopal Panchamukhi [mailto:[EMAIL PROTECTED]]
Sent: 20 November 2001 12:21
To: [EMAIL PROTECTED]
Subject: SSL_connect gives me the error SSL_ERROR_SYSCALL

Hi,
   I've a problem with SSL_connect and the explanation of it is as mentioned below:

1. Firstly, i'm opening an SSL connection and then do read and write on that.
2. If i happen to encounter the error SSL_ERROR_SYSCALL then i try to close this connection and reopen another connection with the help of session resumption.
3. At times this reopening of connection is successful whereas at times it is giving me the error SSL_ERROR_SSL in SSL_connect(). This error gets repeated for certain number of times when i repeat the same SSL_connect() call. After that the error SSL_ERROR_SYSCALL is surfacing out at SSL_connect(). In this way it is going into infinite loop and i'm not able to re-establish the connection.

So, what am i supposed to do if i get either SSL_ERROR_SYSCALL or SSL_ERROR_SSL at SSL_write(), SSL_read() and SSL_connect().

Please don't write "refer the man pages" as it doesn't give necessary explanation.

Any help will be greatly appreciated.

Thanks,
Venu

-- 
Venugopal Panchamukhi
Mobile# +358-(0)9-4110 1675
E-Mail: [EMAIL PROTECTED]
        [EMAIL PROTECTED]
 

Reply via email to