CLEANUP: quic: remove unused qc param on stateless reset token
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 12 Apr 2023 13:48:51 +0000 (15:48 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 18 Apr 2023 14:20:47 +0000 (16:20 +0200)
commit9b68b6457266fd4d84930617a4aacc7112ca276d
tree9a7329739d30241f16dceeac179c9d1fbdccf888
parent90e5027e46fb8903d5069dc45a8abedbe919fd8e
CLEANUP: quic: remove unused qc param on stateless reset token

Remove quic_conn instance as first parameter of
quic_stateless_reset_token_init() and quic_stateless_reset_token_cpy()
functions. It was only used for trace purpose.

The main advantage is that it will be possible to allocate a QUIC CID
without a quic_conn instance using new_quic_cid() which is requires to
first check if a CID is existing before allocating a connection.

This should be backported up to 2.7.
src/quic_conn.c