]> git.kaiwu.me - haproxy.git/commit
MINOR: mux-quic: add an sctl() callback to the application ops
authorWilly Tarreau <w@1wt.eu>
Tue, 10 Nov 2026 10:18:01 +0000 (11:18 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Nov 2026 17:12:23 +0000 (18:12 +0100)
commit9319d597ca67b63f48e270fd3c5e25dafcba39d3
treeb521e8d82af2bbc57c8b46fd3be0449cdb555e9d
parentd6f50e678ff5e4781c47137399d11f58189cad33
MINOR: mux-quic: add an sctl() callback to the application ops

The QUIC mux will need to pass some stream controls to the application
layer, which holds information that the mux doesn't know about (e.g. the
HTTP hardening results of the H3 stream). This adds a new sctl() callback
to qcc_app_ops, which takes the qcs, the mux_sctl_type and an output
pointer, and works like mux->sctl(), returning -1 when not supported.

For now, h3_sctl() doesn't implement anything and the mux doesn't call it
yet.
include/haproxy/mux_quic-t.h
src/h3.c