]> git.ipfire.org Git - thirdparty/chrony.git/commit
nts: rework NTS-KE retry interval
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 25 Mar 2020 16:01:27 +0000 (17:01 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 26 Mar 2020 14:30:27 +0000 (15:30 +0100)
commit66dc2b6d6b36a9714fad4a5a77ce65dbf8d52bec
treee60a7861bcbde5a4cee7821c0490e2682361ceb0
parentbcdbbbd694ba4ca1408c6c0d6f4dbf622d5f235b
nts: rework NTS-KE retry interval

Make the NTS-KE retry interval exponentially increasing, using a factor
provided by the NKE session. Use shorter intervals when the server is
refusing TCP connections or the connection is closed or timing out
before the TLS handshake.
nts_ke.h
nts_ke_client.c
nts_ke_client.h
nts_ke_session.c
nts_ke_session.h
nts_ntp_client.c
test/unit/nts_ntp_client.c