]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h2: pass trailers to H1 (legacy mode)
authorWilly Tarreau <w@1wt.eu>
Thu, 3 Jan 2019 15:18:34 +0000 (16:18 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 3 Jan 2019 17:45:38 +0000 (18:45 +0100)
commite2b05ccff566a48253d5a29c2f93320488c469d2
tree82c29740de40732c1c225d91e56ea90fc9f91fa0
parent9d953e75723db4ddf0d6c247a271e723781bd790
MEDIUM: mux-h2: pass trailers to H1 (legacy mode)

When forwarding an H2 request to an H1 server, if the request doesn't
have a content-length header field, it is chunked. In this case it is
possible to send trailers to the server, which is what this patch does.
If the transfer is performed without chunking, then the trailers are
silently discarded.
src/mux_h2.c