]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h2: implement encoding of H2 request on the backend side
authorWilly Tarreau <w@1wt.eu>
Fri, 5 Oct 2018 09:35:57 +0000 (11:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Dec 2018 12:31:52 +0000 (13:31 +0100)
commit807396937635e96f2f42f56cab2003af1c2f2348
tree2d5bf5c6fd29aefbccd7d33db75967fbef2cd4af
parent01b4482b4621da3c98bec255593db8733141eb13
MEDIUM: mux-h2: implement encoding of H2 request on the backend side

This creates an H2 HEADERS frame from an HTX request. The code is
very similar to the response encoding, so probably that in the future
we'll have to factor these functions differently. The HTX's start line
type is used to decide on the direction. We also purposely error out
when trying to encode an H2 request from an H1 message since it's not
implemented.
src/mux_h2.c