]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Send stateless reset tokens
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 9 May 2022 14:30:55 +0000 (16:30 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Thu, 12 May 2022 15:48:35 +0000 (17:48 +0200)
commite2fb1bf487307033a4f2635399b28b1fd9fd381b
tree871d2dfbe1168d35d50fb3de03507189bd7d4520
parent806e6cf392b36bf25da93beed7bcc4ef04ccc4ed
MINOR: quic: Send stateless reset tokens

Add send_stateless_reset() to send a stateless reset packet. It prepares
a packet to build a 1-RTT packet with quic_stateless_reset_token_cpy()
to copy a stateless reset token derived from the cluster secret with
the destination connection ID received as salt.
Also add QUIC_EV_STATELESS_RST new trace event to at least to have a trace
of the connection which are reset.
include/haproxy/xprt_quic-t.h
src/xprt_quic.c