MINOR: quic: remove ->offset qf_crypto struct field
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 27 Aug 2025 14:28:04 +0000 (16:28 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Oct 2025 14:48:33 +0000 (16:48 +0200)
commit5ccd22def28963b6626accde588da39c8d05914c
tree8f2fa873e227d7fac184cfde0a2c12234497400b
parent9b37126d80a1a621c97bad9fbe0ccd198f4b48b4
MINOR: quic: remove ->offset qf_crypto struct field

This patch follows this previous bug fix:

    BUG/MINOR: quic: reorder fragmented RX CRYPTO frames by their offsets

where a ebtree node has been added to qf_crypto struct. It has the same
meaning and type as ->offset_node.key field with ->offset_node an eb64tree node.
This patch simply removes ->offset which is no more useful.

This patch should be easily backported as far as 2.6 as the one mentioned above
to ease any further backport to come.

(cherry picked from commit 31c17ad837195c70fb6d4e427845ded1c6acffaa)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 4a1a08be4f34feafb637115a1d8536ad70a2df33)
[cf: Some changes were made inlined in quic_tx.c because some functions does
 not exist in 3.2 and lower]
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 565d73a3b1d6fa562408392bb55340a5e7b8b967)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
include/haproxy/quic_frame-t.h
include/haproxy/quic_frame.h
src/quic_frame.c
src/quic_rx.c
src/quic_ssl.c
src/quic_tx.c