]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: remove qc from quic_rx_packet
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 24 Nov 2022 16:12:25 +0000 (17:12 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 2 Dec 2022 13:45:43 +0000 (14:45 +0100)
commit518c98f15059ba27d4cf020fa313a96ddaab78f3
tree60e4b61b623f90a6a2f5bf370f443c4333815f9a
parent52ddd99940a9580cd6a70af1e5469ad10fc9fa1b
MINOR: quic: remove qc from quic_rx_packet

quic_rx_packet struct had a reference to the quic_conn instance. This is
useless as qc instance is always passed through function argument. In
fact, pkt.qc is used only in qc_pkt_decrypt() on key update, even though
qc is also passed as argument.

Simplify this by removing qc field from quic_rx_packet structure
definition. Also clean up qc_pkt_decrypt() documentation and interface
to align it with other quic-conn related functions.

This should be backported up to 2.7.
include/haproxy/quic_conn-t.h
src/quic_conn.c