From 49edaca513075d070c2b4941f76ae34ed69a1bd2 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Wed, 12 Nov 2025 16:58:46 +0100 Subject: [PATCH] MINOR: quic: try to clarify quic_conn CIDs fields direction quic_conn has two fields named and . It may cause confusion as it is not obvious how these fields are related to the connection direction. Try to improve this by extending the documentation of these two fields. --- include/haproxy/quic_conn-t.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/haproxy/quic_conn-t.h b/include/haproxy/quic_conn-t.h index 9fe7b69f7..84c9b68f7 100644 --- a/include/haproxy/quic_conn-t.h +++ b/include/haproxy/quic_conn-t.h @@ -292,9 +292,13 @@ struct qcc_app_ops; size_t max_udp_payload; \ /* First DCID used by client on its Initial packet. */ \ struct quic_cid odcid; \ - /* DCID of our endpoint - not updated when a new DCID is used */ \ + /* Peer chosen CID, used as dest for packets sent from our endpoint \ + * - not updated when a new DCID is used \ + */ \ struct quic_cid dcid; \ - /* first SCID of our endpoint - not updated when a new SCID is used */ \ + /* Local CID used to dispatch received datagrams to this endpoint \ + * - not updated when a new SCID is used \ + */ \ struct quic_cid scid; \ /* tree of quic_connection_id - used to match a received packet DCID \ * with a connection \ -- 2.47.3