]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: implement reject quic-initial action
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 19 Jul 2024 15:39:04 +0000 (17:39 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 25 Jul 2024 13:39:39 +0000 (15:39 +0200)
commit69d7e9f3b7435d0dba4b0277804300fc8654a6cb
tree5f18f3ad084a0360f784ff58e62fdd443b5bd4ff
parentf91be2657ecc09af14788e820eaee7c6ca80f615
MINOR: quic: implement reject quic-initial action

Define a new quic-initial action named "reject". Contrary to dgram-drop,
the client is notified of the rejection by a CONNECTION_CLOSE with
CONNECTION_REFUSED error code.

To be able to emit the necessary CONNECTION_CLOSE frame, quic_conn is
instantiated, contrary to dgram-drop action. quic_set_connection_close()
is called immediatly after qc_new_conn() which prevents the handshake
startup.
doc/configuration.txt
include/haproxy/quic_sock-t.h
src/quic_rules.c
src/quic_rx.c