------=_Part_5697_29408832.1193202455620
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I believe the answers are...

1) SSL_free(ssl)
2) SSL* ssl
3) SSL_free(ssl)

On 10/21/07, wang9736 wrote:
>
> hi all
> if server has reboot ,what should client do to reconnect with server ?
>
> SSL_shutdown(ssl);
> SSL_free(ssl);
> SSL_CTX_free(ctx);
> close(normal_tcp_fd);
>
> all should be done or only some of them?and where should I do from ?
> from
> socket()?
> SSL_ctx_new?
> SSL* ssl?
>
> and if client has reboot ,need server exit from the thread according to
> this client ? need server do all
> SSL_shutdown(ssl);
> SSL_free(ssl);
> SSL_CTX_free(ctx);
> close(normal_tcp_fd);
>


------=_Part_5697_29408832.1193202455620
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I believe the answers are...

1) SSL_free(ssl)
2) SSL* ssl
3) SSL_free(ssl)

On 10/21/07, wang9736 <wang9736@126.com
> wrote:
hi all

   if server has reboot ,what should client  do to reconnect with server ?

 

SSL_shutdown(ssl);
SSL_free(ssl);
SSL_CTX_free(ctx);

close(normal_tcp_fd);

 

all should be done or only some of them?and where should I do from ?

from

socket()?

SSL_ctx_new?

SSL* ssl?

 

and if client has reboot ,need server exit from the thread according to this client ? need server do all


SSL_shutdown(ssl);
SSL_free(ssl);
SSL_CTX_free(ctx);

close(normal_tcp_fd);



------=_Part_5697_29408832.1193202455620--
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org