commit | 1e1f27c5c16e9b54b19f14a1558b5ce4cb9f09f2 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jan 03 18:39:54 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jan 03 18:45:38 2019 +0100 |
tree | 8fef6cb7e66f7e9bb12a0722e47e6c4dae4d33ab | |
parent | 52610e905dd0c4e63373d817dc234f110d670a57 [diff] |
MINOR: h2: add h2_make_htx_trailers to turn H2 headers to HTX trailers This function is usable to transform a list of H2 header fields to a HTX trailers block. It takes care of rejecting forbidden headers and pseudo-headers when performing the conversion. It also emits the trailing CRLF that is currently needed in the HTX trailers block.