]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: quic: create a dedicated quic_conn module
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 30 Sep 2022 16:11:13 +0000 (18:11 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 3 Oct 2022 14:25:17 +0000 (16:25 +0200)
commit92fa63f73596bf7e567b7bbd600dd8621a1b49ad
tree4ca21bbf6cb219f667aa94216a7b312a37972eda
parenta2639383ece04c2fee3bbdda54dab66a640f6aa1
CLEANUP: quic: create a dedicated quic_conn module

xprt_quic module was too large and did not reflect the true architecture
by contrast to the other protocols in haproxy.

Extract code related to XPRT layer and keep it under xprt_quic module.
This code should only contains a simple API to communicate between QUIC
lower layer and connection/MUX.

The vast majority of the code has been moved into a new module named
quic_conn. This module is responsible to the implementation of QUIC
lower layer. Conceptually, it overlaps with TCP kernel implementation
when comparing QUIC and HTTP1/2 stacks of haproxy.

This should be backported up to 2.6.
22 files changed:
Makefile
include/haproxy/quic_cc.h
include/haproxy/quic_conn-t.h [moved from include/haproxy/xprt_quic-t.h with 99% similarity]
include/haproxy/quic_conn.h [moved from include/haproxy/xprt_quic.h with 98% similarity]
include/haproxy/quic_frame.h
include/haproxy/quic_loss.h
include/haproxy/quic_tls.h
include/haproxy/quic_tp.h
src/h3.c
src/haproxy.c
src/mux_quic.c
src/proto_quic.c
src/quic_cc_newreno.c
src/quic_conn.c [new file with mode: 0644]
src/quic_frame.c
src/quic_loss.c
src/quic_sock.c
src/quic_stream.c
src/quic_tls.c
src/quic_tp.c
src/ssl_sock.c
src/xprt_quic.c