ngtcp2_conn_tls_early_data_rejected =================================== Synopsis -------- *#include * .. function:: 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: - Any opened streams. - Stream identifier allocations. - Max data extended by `ngtcp2_conn_extend_max_offset`. - Max bidi streams extended by `ngtcp2_conn_extend_max_streams_bidi`. - Max uni streams extended by `ngtcp2_conn_extend_max_streams_uni`. 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: :macro:`NGTCP2_ERR_CALLBACK_FAILURE` User callback failed