]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h3: complete HTTP/3 request method encoding
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 30 May 2025 13:59:04 +0000 (15:59 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 16 Jun 2025 16:11:09 +0000 (18:11 +0200)
commita0912cf914d6292ddd5944ee2d81587b24c61580
tree846c690e42b80ed8a177640419930fd3766e8e69
parentf5342e0a9633155b9d4cd8972929e59e2fdb35b0
MINOR: h3: complete HTTP/3 request method encoding

On the backend side, HTX start-line is converted into a HTTP/3 request
message. Previously, GET method was hardcoded. Implement proper method
conversion, by extracting it from the HTX start-line.

qpack_encode_method() has also been extended, so that it is able to
encode any method, either using a static table entry, or with a literal
field line with name ref representation.
include/haproxy/qpack-enc.h
src/h3.c
src/qpack-enc.c