]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h2: add h2_make_h1_trailers to turn H2 headers to H1 trailers
authorWilly Tarreau <w@1wt.eu>
Thu, 3 Jan 2019 15:18:14 +0000 (16:18 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 3 Jan 2019 17:45:38 +0000 (18:45 +0100)
commit9d953e75723db4ddf0d6c247a271e723781bd790
treead8af9b6677ed2064aa0b070ad5443e81ea607db
parent88d138ef6ddc90dc8aa6aa8766ce411edabf7c51
MINOR: h2: add h2_make_h1_trailers to turn H2 headers to H1 trailers

This function is usable to transform a list of H2 header fields to a
H1 trailers block. It takes care of rejecting forbidden headers and
pseudo-headers when performing the conversion.
include/common/h2.h
src/h2.c