check the return value of SSL_write...
vijo.
On Thu, Aug 08, 2002 at 02:22:53PM -0400, MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
wrote:
> Hi,
> I have a program something like :
>
> main () {
> SSL *ssl;
>
> ssl = SSL_new(...);
> /* handshake is done etc */
> /* BIO is BIO_s_socket() */
> ...
> ...
> alarm(5);
> SSL_write(ssl, ...);
> alarm(0);
>
>
> }
>
> alarm_handler() {
> SSL_set_shutdown(ssl, ...)
> SSL_free(ssl);
> }
>
> The situation is : SSL_write has not yet completed because the Client has
> not yet acknowledged the data, and the timeout happens. What happens now ?.
>
> -Madhu
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> User Support Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
--
vijo
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]