]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h3: adjust auth request encoding or fallback to host
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 30 May 2025 16:00:48 +0000 (18:00 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 16 Jun 2025 16:11:09 +0000 (18:11 +0200)
commit555ec99d437f3c55afeb9056e3ba8affd68fafd6
treedd7fbd462f705b6553ec38b1a4941164dbe1ff02
parent96183abfbd29dca698300078b85aa3647601b807
MINOR: h3: adjust auth request encoding or fallback to host

Implement proper encoding of HTTP/3 authority pseudo-header during
request transcoding on the backend side. A pseudo-header :authority is
encoded if a value can be extracted from HTX start-line. A special check
is also implemented to ensure that a host header is not encoded if
:authority already is.

A new function qpack_encode_auth() is defined to implement QPACK
encoding of :authority header using literal field line with name ref.
include/haproxy/qpack-enc.h
src/h3.c
src/qpack-enc.c