]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: implement subscribe on stream
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 6 Dec 2021 10:24:00 +0000 (11:24 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 7 Dec 2021 14:44:45 +0000 (15:44 +0100)
commita3f222dc1e77e02079ef47eea7cc3623ffebdbe8
treeb29d6c7296b48bc8f4022fd37bc2e4cd32607a1d
parentc2025c1ec62707c37310c9a39341f1d94aa2def3
MINOR: mux-quic: implement subscribe on stream

Implement the subscription in the mux on the qcs instance.

Subscribe is now used by the h3 layer when receiving an incomplete frame
on the H3 control stream. It is also used when attaching the remote
uni-directional streams on the h3 layer.

In the qc_send, the mux wakes up the qcs for each new transfer executed.
This is done via the method qcs_notify_send().

The xprt wakes up the qcs when receiving data on unidirectional streams.
This is done via the method qcs_notify_recv().
include/haproxy/mux_quic.h
src/h3.c
src/mux_quic.c
src/xprt_quic.c