]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: quic: timestamp shared in token was using internal time clock
authorEmeric Brun <ebrun@haproxy.com>
Tue, 11 Jul 2023 14:13:19 +0000 (16:13 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 12 Jul 2023 12:32:01 +0000 (14:32 +0200)
commitcadb232e937040741103039c37f997d6fa6677e7
tree854557d774b47bd66dff47c78f5a2eb349ccdb15
parent072e77493961a06b89f853f4ab2bbf0e9cf3eff7
BUG/MEDIUM: quic: timestamp shared in token was using internal time clock

The internal tick clock was used to export the timestamp int the token
on retry packets. Doing this in cluster mode the nodes don't
understand the timestamp from tokens generated by others.

This patch re-work this using the the real current date (wall-clock time).

Timestamp are also now considered in secondes instead of milleseconds.

This patch should be backported until v2.6
include/haproxy/quic_conn-t.h
src/quic_conn.c