[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
7.8 Handling alerts
During a TLS connection alert messages may be exchanged by the
two peers. Those messages may be fatal, meaning the connection
must be terminated afterwards, or warning when something needs
to be reported to the peer, but without interrupting the session.
The error codes GNUTLS_E_WARNING_ALERT_RECEIVED
or GNUTLS_E_FATAL_ALERT_RECEIVED
signal those alerts
when received, and may be returned by all GnuTLS functions that receive
data from the peer, being gnutls_handshake and gnutls_record_recv.
Alerts messages may be sent to the peer using gnutls_alert_send.
This document was generated on March 23, 2012 using texi2html 5.0.