]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h1-htx: Add function to format an HTX message in its H1 representation
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 10 Jul 2025 08:06:13 +0000 (10:06 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 10 Jul 2025 08:29:49 +0000 (10:29 +0200)
commit187ae28cf41bc60074d6d80304f625fd52c7030a
tree059c011872d0f2219674229ab886766d8d1891eb
parent378c1821929c8d2493642b7c299cce9e424773d9
MINOR: h1-htx: Add function to format an HTX message in its H1 representation

The function h1_format_htx_msg() can now be used to convert a valid HTX
message in its H1 representation. No validity test is performed, the HTX
message must be valid. Only trailers are silently ignored if the message is
not chunked. In addition, the destination buffer must be empty. 1XX interim
responses should be supported. But again, there is no validity tests.
include/haproxy/h1_htx.h
src/h1_htx.c