Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
SSL_set_shutdown, SSL_get_shutdown — manipulate shutdown state of an SSL connectionSYNOPSIS
#include <openssl/ssl.h>SSL_set_shutdown(SSL *ssl, int mode);
SSL_get_shutdown(const SSL *ssl);
DESCRIPTION
SSL_set_shutdown() sets the shutdown state of ssl to mode.- 0
- No shutdown setting, yet.
- SSL_SENT_SHUTDOWN
- A “close notify” shutdown alert was sent to the peer; the connection is being considered closed and the session is closed and correct.
- SSL_RECEIVED_SHUTDOWN
- A shutdown alert was received form the peer, either a normal “close notify” or a fatal error.