]> git.kaiwu.me - haproxy.git/commit
MINOR: quic: use the listener for Retry and Version Negotiation emission
authorYeonggi Kim <yg.kim@navercorp.com>
Thu, 15 Oct 2026 23:45:52 +0000 (08:45 +0900)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 16 Oct 2026 07:31:06 +0000 (09:31 +0200)
commit4616641fdfb83dbef08aa6e352225530f4198031
treee0c5774696cc033711383a331f05089eb0aaebf7
parent0690817928efbb5d47041aea42b920584f112f48
MINOR: quic: use the listener for Retry and Version Negotiation emission

send_retry() and send_version_negotiation() take the listener socket FD
as first argument, while send_stateless_reset() takes the listener
instance. Make the first two also take the listener instance. Also
rename their <addr> argument to <dst> to remove any ambiguity, as it is
the destination of the emitted datagram, and fix send_stateless_reset()
comment which still mentioned a FD.

This patch does not introduce any functional change. It is a
prerequisite for the following fixes on Retry, Stateless Reset and
Version Negotiation emission. As such, it should be backported with
them up to 2.8. Prior to 2.9, these functions are static functions
defined in quic_conn.c.
include/haproxy/quic_tx.h
src/quic_rx.c
src/quic_tx.c