]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: muxes: Use one callback function to shut a mux stream
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 18 Apr 2024 07:56:11 +0000 (09:56 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 19 Apr 2024 14:33:40 +0000 (16:33 +0200)
commitfbc0850d36fddec8055bc3b52b0e343ef90b0f9f
tree7aba18729fc1f5616e4086518abddd6f887863ad
parent1e38ac72cedbf6f7ddaa89802cf4d4326a0e3860
MEDIUM: muxes: Use one callback function to shut a mux stream

mux-ops .shutr and .shutw callback functions are merged into a unique
functions, called .shut. The shutdown mode is still passed as argument,
muxes are responsible to test it. Concretly, .shut() function of each mux is
now the content of the old .shutw() followed by the content of the old
.shutr().
include/haproxy/connection-t.h
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/mux_pt.c
src/mux_quic.c
src/stconn.c