ngtcp2_conn_tls_early_data_rejected

Synopsis

#include <ngtcp2/ngtcp2.h>

int ngtcp2_conn_tls_early_data_rejected(ngtcp2_conn *conn)

ngtcp2_conn_tls_early_data_rejected() tells conn that early data was rejected by a server during TLS handshake, or client decided not to attempt early data for some reason. conn discards the following connection states:

Application which wishes to retransmit early data, it has to open streams, and send stream data again.

This function returns 0 if it succeeds, or one of the following negative error codes:

NGTCP2_ERR_CALLBACK_FAILURE

User callback failed