MINOR: quic: Add traces about QUIC TLS key update
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 23 Feb 2023 19:38:23 +0000 (20:38 +0100)
committerFrédéric Lécaille <flecaille@haproxy.com>
Fri, 3 Mar 2023 18:12:26 +0000 (19:12 +0100)
commit51a7caf921697d97ff6b5c910797f78fea9cac51
tree3da7c589aeedc5cc523c1f21e61d19553c2bba5b
parent720277843b44bae8667cf23982acf897031ce89f
MINOR: quic: Add traces about QUIC TLS key update

Dump the secret used to derive the next one during a key update initiated by the
client and dump the resulted new secret and the new key and iv to be used to
decryption Application level packets.

Also add a trace when the key update is supposed to be initiated on haproxy side.

This has already helped in diagnosing an issue evealed by the key update interop
test with xquic as client.

Must be backported to 2.7.
include/haproxy/quic_conn-t.h
include/haproxy/quic_tls.h
src/quic_conn.c
src/quic_tls.c