]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: limit usage of ssl_sock_ctx in favor of quic_conn
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 26 Sep 2022 12:53:59 +0000 (14:53 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 5 Oct 2022 09:08:32 +0000 (11:08 +0200)
commit2ed840015f2d7ca37af77c0d9808cac3b0441d40
treee97ee6ab759219875844dd0132964cfb10d20e28
parentafb7dafb44d240c9c306a41905812a40d700086c
MINOR: quic: limit usage of ssl_sock_ctx in favor of quic_conn

Continue on the cleanup of QUIC stack and components.

quic_conn uses internally a ssl_sock_ctx to handle mandatory TLS QUIC
integration. However, this is merely as a convenience, and it is not
equivalent to stackable ssl xprt layer in the context of HTTP1 or 2.

To better emphasize this, ssl_sock_ctx usage in quic_conn has been
removed wherever it is not necessary : namely in functions not related
to TLS. quic_conn struct now contains its own wait_event for tasklet
quic_conn_io_cb().

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