Hi ALL,

Please read the mail below. Need help ASAP.

thanks,
Vignesh

                                                                                       
                                    
                    [EMAIL PROTECTED]                                              
                                    
                    x.com                        To:     [EMAIL PROTECTED]     
                                    
                    Sent by:                     cc:     [EMAIL PROTECTED]             
                                    
                    owner-openssl-users@o        Subject:     BIO_write & 
BIO_should_retry issue                           
                    penssl.org                                                         
                                    
                                                                                       
                                    
                                                                                       
                                    
                    10/01/02 10:25 AM                                                  
                                    
                    Please respond to                                                  
                                    
                    openssl-users                                                      
                                    
                                                                                       
                                    
                                                                                       
                                    




Hi All,

I have a problem with the use of BIO_write and BIO_should_retry.

I have a SSL_Session which is in a "SSL_NONBLOCKING_IO" mode.

To this, making a call to the write function.
For some strange reason, the write is returning <=0 condition. To determine
the cause of the problem,
I tried using the BIO_should_retry() function immediately after getting the
error condition.

This also seems to return a false condition and hence I am throwing an
exception.

I was going through the documentation about write and should_retry. found a
few thing there.
what I would like to know are -
[1] If the IO is NON-Blocking mode, then calling should_retry might not be
the right thing. What else could be done?
[2] Why would BIO_write fail?


thanks,
Vignesh


______________________________________________________________________
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]

Reply via email to