commit | 7d7b11cf9317acab65ea3a3ae7f24eed1c0fb02a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Dec 11 11:07:19 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 11 11:07:19 2020 +0100 |
tree | abaa1c147f4ffbe91afd262693ecbfd2d6bbcdee | |
parent | 6aee5b9a4c39b24b8afdf8d3473f0356d8e65e59 [diff] |
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.