BUG/MINOR: quic: Missing TLS secret context initialization
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 19 Jun 2023 09:56:19 +0000 (11:56 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 19 Jun 2023 17:05:45 +0000 (19:05 +0200)
commitc2bab72d32eea98b53dff89e47205e1fa42caabe
treea83d7d1d1c8e1f7d9c71ee6d5660e88e2824891d
parenta55acf993a5795ed4f5255b30024a0dba10f15b1
BUG/MINOR: quic: Missing TLS secret context initialization

This bug arrived with this commit:

     MINOR: quic: Remove pool_zalloc() from qc_new_conn()

Missing initialization of largest packet number received during a keyupdate phase.
This prevented the keyupdate feature from working and made the keyupdate interop
tests to fail for all the clients.

Furthermore, ->flags from quic_tls_ctx was also not initialized. This could
also impact the keyupdate feature at least.

No backport needed.
include/haproxy/quic_tls-t.h
include/haproxy/quic_tls.h