]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: quic/ssl: add new ex data for quic_conn
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 19 Jan 2022 09:03:30 +0000 (10:03 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 24 Jan 2022 09:30:49 +0000 (10:30 +0100)
commit9320dd53850aeb73f6637d2bc96503dea0fd67f5
treef71b0ee291dbe11e99f0bf1a3b83fafa80e07999
parent57af069571fc8ad74384ffba7861b99b69a740aa
MEDIUM: quic/ssl: add new ex data for quic_conn

Allow to register quic_conn as ex-data in SSL callbacks. A new index is
used to identify it as ssl_qc_app_data_index.

Replace connection by quic_conn as SSL ex-data when initializing the QUIC
SSL session. When using SSL callbacks in QUIC context, the connection is
now NULL. Used quic_conn instead to retrieve the required parameters.
Also clean up

The same changes are conducted inside the QUIC SSL methods of xprt-quic
: connection instance usage is replaced by quic_conn.
include/haproxy/ssl_sock.h
src/ssl_sock.c
src/xprt_quic.c