]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Modify NEW_TOKEN frame structure (qf_new_token struct)
authorFrederic Lecaille <flecaille@haproxy.com>
Fri, 30 Aug 2024 12:47:08 +0000 (14:47 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Fri, 30 Aug 2024 15:04:09 +0000 (17:04 +0200)
commite926378375bcf579daadea071c600651eb7dce0d
tree60049d885184e08dddb8dd389a2b85c1fd253b3b
parent76c80605a6cc7880e4184c52fb1a314367410271
MINOR: quic: Modify NEW_TOKEN frame structure (qf_new_token struct)

Modify qf_new_token structure to use a static buffer with QUIC_TOKEN_LEN
as size as defined by the token for future connections (quic_token.c).
Modify consequently the NEW_TOKEN frame parser (see quic_parse_new_token_frame()).
Also add comments to denote that the NEW_TOKEN parser function is used only by
clients and that its builder is used only by servers.
include/haproxy/quic_frame-t.h
include/haproxy/quic_tls-t.h
src/quic_frame.c