MINOR: mux-h1: Add function to add size of a chunk to an outgoind message
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 25 Sep 2023 09:05:14 +0000 (11:05 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 17 Oct 2023 16:51:13 +0000 (18:51 +0200)
commit6dff013fad108fb5570347f07585a50d747f894f
tree4784a04852875258a945283869eb9bc0c8dc00a9
parent91f1c5519a5a96dc12188d723a2bf0fe485d82fb
MINOR: mux-h1: Add function to add size of a chunk to an outgoind message

This function should be used to send the chunk size, before appending the
chunk payload. It also takes care to add a CRLF to finish a previous chunk,
if necessary. This function will be used to fix the splicing for re-chunk
responses with an unknown length.
src/mux_h1.c