]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic-be: Parse, store and reuse tokens provided by NEW_TOKEN 20250802-quic-be-0rtt
authorFrederic Lecaille <flecaille@haproxy.com>
Mon, 11 Aug 2025 14:53:29 +0000 (16:53 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Wed, 13 Aug 2025 08:25:49 +0000 (10:25 +0200)
commit5f1a4f750d852509924f0a34f7389611aec9b966
treeb8b38472a30fbb3b8b284fef4456a062589ba9f6
parent430b4e7ef136024ce5db12f06cd829a968bfefd7
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