]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h2: add two H2S flags to report the need for shutr/shutw
authorWilly Tarreau <w@1wt.eu>
Mon, 13 May 2019 16:06:17 +0000 (18:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 13 May 2019 17:14:52 +0000 (19:14 +0200)
commit2c249ebc7543512a4539a48bb75676dca47bf5fe
treea55f694e9b9aa51ace5cecebc9696d3b7b638ea0
parentc234ae38f859ee0b96455b207bb7031cf5fa036d
MINOR: mux-h2: add two H2S flags to report the need for shutr/shutw

Currently when a shutr/shutw fails due to lack of buffer space, we abuse
the wait_event's handle pointer to place up to two bits there in addition
to the original pointer. This pointer is not used for anything but this
and overall the intent becomes clearer with h2s flags than with these
two alien bits in the pointer, so let's use clean flags now.
src/mux_h2.c