]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic-be: Parse, store and reuse tokens provided by NEW_TOKEN 20250911-quic-be-0rtt
authorFrederic Lecaille <flecaille@haproxy.com>
Mon, 11 Aug 2025 14:53:29 +0000 (16:53 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 11 Sep 2025 16:26:21 +0000 (18:26 +0200)
commitc4857f35e88617d09008bd53b52b4a38e03efb38
tree52c451e1114edefeefdd50ad723069c1f59de3fd
parent0a209723fdd57bf2af3e3508a5b21638e05a30ab
MINOR: quic-be: Parse, store and reuse tokens provided by NEW_TOKEN

Add ->tok and ->toklen to store these tokens into the server SSL ctx cache.
Parse at packet level (from qc_parse_ptk_frms()) these tokens and store
them calling qc_try_store_new_token() newly implemented function.
Modify qc_do_build_pkt() to resend these token calling quic_enc_token()
implemented by this patch.
include/haproxy/server-t.h
src/quic_rx.c
src/quic_tx.c