tls_connection_shutdown() function
tls_connection_shutdown - Shutdown TLS connection @tls_ctx: TLS context data from tls_init() @conn: Connection context data from tls_connection_init() Returns: 0 on success, -1 on failure Shutdown current TLS connection without releasing all resources. New connection can be started by using the same conn without having to call tls_connection_init() or setting certificates etc. again. The new connection should try to use session resumption.
tls_connection_shutdown() is called by 1 function and calls 3 functions:
![]()
tls_connection_shutdown()
tls_connection_shutdown() reads 4 variables and writes 2 variables:
![]()
tls_connection_shutdown()