MINOR: quic: derive first DCID from client ODCID
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 3 Apr 2023 16:49:39 +0000 (18:49 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 5 Apr 2023 09:06:04 +0000 (11:06 +0200)
commit162baaff7ab761c411800f4ca6bef45315d7afcb
treece0e01f559575f75af26444bfe55bc0caf6f01ef
parentce5c145df5cd77a8a79ab0980c8a5c8010128abc
MINOR: quic: derive first DCID from client ODCID

Change the generation of the first CID of a connection. It is directly
derived from the client ODCID using a 64-bits hash function. Client
address is added to avoid collision between clients which could use the
same ODCID.

For the moment, this change as no functional impact. However, it will be
directly used for the next commit to be able to remove the ODCID tree.

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