]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Stop storing the TX encoded transport parameters
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 3 Jul 2023 16:12:47 +0000 (18:12 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Fri, 21 Jul 2023 12:27:10 +0000 (14:27 +0200)
commit642dba8c22f3135baf355eb068326c20f42690b2
tree53a30d2513e3fce1932f0cc622a40706a941074d
parent57926fe8a30a32d573450201ea031a520820ff0e
MINOR: quic: Stop storing the TX encoded transport parameters

There is no need to keep an encoded version of the QUIC listener transport
parameters attache to the connection.

Remove ->enc_params and ->enc_params_len member of quic_conn struct.
Use variables to build the encoded transport parameter local to
ha_quic_set_encryption_secrets() before they are passed to
SSL_set_quic_transport_params().

Modify qc_ssl_sess_init() prototype. It was expected to be used with
the encoded transport parameters as passed parameter, but they were not
used. Cleanup this function.
include/haproxy/quic_conn-t.h
src/quic_conn.c