]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: quic: fix invalid conn reject with CONNECTION_REFUSED
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 26 Jul 2024 13:24:35 +0000 (15:24 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 26 Jul 2024 13:24:35 +0000 (15:24 +0200)
commit85131f91bf726039acf49c6fe5333df0a6aaa959
tree284f0ef628204aa49b851a734d5b4f235afba7a8
parent08515af9dfd99bc0c1c7989c95ea03049ff67062
BUG/MEDIUM: quic: fix invalid conn reject with CONNECTION_REFUSED

quic-initial rules were implemented just recently. For some actions, a
new flags field was added in quic_dgram structure. This is used to
report the result of the rules execution.

However, this flags field was left uninitialized. Depending on its
value, it may close the connection to be wrongly rejected via
CONNECTION_REFUSED. Fix this by properly set flags value to 0.

No need to backport.
src/quic_sock.c