]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: muxes: Implement ->sctl() callback for muxes and return the stream id
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Nov 2023 14:12:51 +0000 (15:12 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 29 Nov 2023 10:11:12 +0000 (11:11 +0100)
commitfd8ce788a5cc485ea366ec6ead08c83b5ca5aab2
tree4f8c072390d2bca207e7622da4bd147cbd361b20
parent0f15dcd9a7c1be4615f1d0f635853765544e3727
MINOR: muxes: Implement ->sctl() callback for muxes and return the stream id

All muxes now implements the ->sctl() callback function and are able to
return the stream ID. For the PT multiplexer, it is always 0. For the H1
multiplexer it is the request count for the current H1 connection (added for
this purpose). The FCGI, H2 and QUIC muxes, the stream ID is returned.

The stream ID is returned as a signed 64 bits integer.
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/mux_pt.c
src/mux_quic.c