MINOR: mux-h1: Rely on H1S_F_HAVE_CHNK to add T-E in outgoing messages
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 2 Oct 2023 06:34:33 +0000 (08:34 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 4 Oct 2023 13:34:18 +0000 (15:34 +0200)
commitaccd3e911c6952a52aaa79866b6c9d46d9022412
tree157a9dcc222ea7c7eba854da74bd7bc77702f69e
parentf32e28eddc42cbb5c4b19f1f82458bd6e8277df9
MINOR: mux-h1: Rely on H1S_F_HAVE_CHNK to add T-E in outgoing messages

If a message is declared to have a known length but no C-L or T-E headers
are set, a "Transfer-Encoding; chunked" header is automatically added. It is
useful for H2/H3 messages with no C-L header. There is now a flag to know
this header was found or added. So we use it.
src/mux_h1.c