]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h3: prepare support for response parsing
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 28 May 2025 15:07:07 +0000 (17:07 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 16 Jun 2025 16:11:09 +0000 (18:11 +0200)
commit0eb35029dc1cfd728da3643ce212f7e98c398ca2
treee7fcf63a98331cd238e5dc05e219154eb9b520af
parent555ec99d437f3c55afeb9056e3ba8affd68fafd6
MINOR: h3: prepare support for response parsing

Refactor HTTP/3 request headers transcoding to HTX done in
h3_headers_to_htx(). Some operations are extracted into dedicated
functions, to check pseudo-headers and headers conformity, and also trim
the value of headers before encoding it in HTX.

The objective will be to simplify implementation of HTTP/3 response
transcoding by reusing these functions.

Also, h3_headers_to_htx() has been renamed to h3_req_headers_to_htx(),
to highlight that it is reserved to frontend usage.
src/h3.c