]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: refactor DCID lookup
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 15 Dec 2021 15:32:56 +0000 (16:32 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 17 Dec 2021 09:59:36 +0000 (10:59 +0100)
commit8efe032bba9a6d33145c1f9e192631d90b1c3222
treea87f9cac194a1b20d482cc472d9411d91f1091ae
parentadb2276524e6903a6b52ac2ec23b766fb8e0afe6
MINOR: quic: refactor DCID lookup

A new function named qc_retrieve_conn_from_cid() now contains all the
code to retrieve a connection from a DCID. It handle all type of packets
and centralize the locking on the ODCID/DCID trees.

This simplify the qc_lstnr_pkt_rcv() function.
include/haproxy/xprt_quic-t.h
src/xprt_quic.c