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

(cherry picked from commit cadb232e937040741103039c37f997d6fa6677e7)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
2 files changed