DTLS retransmission timeouts

Sean Buckheister s_buckhe at cs.uni-kl.de
Fri Feb 3 00:03:10 CET 2012


Hello,

looking at the DTLS retransmission code in the nonblocking path, I find

if (now-session->internals.dtls.handshake_start_time <
session->internals.dtls.actual_retrans_timeout)

in gnutls_dtls.c _dtls_transmit. So it waits for actual_retrans_timeout
seconds to retransmit, but actual_retrans_timeout looks like a
millisecond timespan. Am I missing something, or is this line missing a
division by 1000?


-- Sean




More information about the Gnutls-devel mailing list