commit | 807396937635e96f2f42f56cab2003af1c2f2348 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Oct 05 11:35:57 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Dec 02 13:31:52 2018 +0100 |
tree | 2d5bf5c6fd29aefbccd7d33db75967fbef2cd4af | |
parent | 01b4482b4621da3c98bec255593db8733141eb13 [diff] |
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.