In unstable links with losses and latency (this was tested with a quite constrained VHF link) several EAGAIN (or GNUTLS_E_AGAIN) and GNUTLS_E_INTERRUPTED may occur.
This leads to a failure in establishing a connection and to a complete stop in the server if the DTLS handshake fails.
According to the documentation, these interrupts should basically lead to another recv/read.
In unstable links with losses and latency (this was tested with a quite constrained VHF link) several
EAGAIN
(orGNUTLS_E_AGAIN
) andGNUTLS_E_INTERRUPTED
may occur.This leads to a failure in establishing a connection and to a complete stop in the server if the DTLS handshake fails.
According to the documentation, these interrupts should basically lead to another recv/read.