]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: implement MAX_STREAM_DATA emission
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 16 May 2022 12:38:25 +0000 (14:38 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 18 May 2022 14:25:07 +0000 (16:25 +0200)
commita977355aa1f9636d0f8fe2af811915d33c99260e
tree3275db0cb7461c99eee76aa3d0cae2ba95d2f3b8
parentc985cb167db6283ac5edf87e144e96998b1ed7db
MINOR: mux-quic: implement MAX_STREAM_DATA emission

Send MAX_STREAM_DATA frames when at least half of the allocated
flow-control has been demuxed, frame and cleared. This is necessary to
support QUIC STREAM with received data greater than a buffer.

Transcoders must use the new function qcc_consume_qcs() to empty the QCS
buffer. This will allow to monitor current flow-control level and
generate a MAX_STREAM_DATA frame if required. This frame will be emitted
via qc_io_cb().
include/haproxy/mux_quic-t.h
include/haproxy/mux_quic.h
src/h3.c
src/hq_interop.c
src/mux_quic.c