]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-pt: take care of CS_SHR_DRAIN in shutr()
authorWilly Tarreau <w@1wt.eu>
Fri, 11 Dec 2020 10:07:19 +0000 (11:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Dec 2020 10:07:19 +0000 (11:07 +0100)
commit7d7b11cf9317acab65ea3a3ae7f24eed1c0fb02a
treeabaa1c147f4ffbe91afd262693ecbfd2d6bbcdee
parent6aee5b9a4c39b24b8afdf8d3473f0356d8e65e59
MINOR: mux-pt: take care of CS_SHR_DRAIN in shutr()

When the shutr() requests CS_SHR_DRAIN and there's no particular shutr
implemented on the underlying transport layer, we must drain pending data.
This is what happens when cs_drain_and_close() is called. It is important
for TCP checks to drain large responses and close cleanly.
src/mux_pt.c