]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: htx: Add an HTX value for the extra field is payload length is unknown
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 13 Jan 2023 10:40:24 +0000 (11:40 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 13 Jan 2023 10:51:11 +0000 (11:51 +0100)
commit2e47e3a1cf0e6a325d7b38fd98b5b884b06628f2
tree2877a773014e22699c3a6cb9e49510646db641f1
parent462f52260c0685696b1521ef9e5276b98ba98cde
MINOR: htx: Add an HTX value for the extra field is payload length is unknown

When the payload length cannot be determined, the htx extra field is set to
the magical vlaue ULLONG_MAX. It is not obvious. This a dedicated HTX value
is now used. Now, HTX_UNKOWN_PAYLOAD_LENGTH must be used in this case,
instead of ULLONG_MAX.
include/haproxy/htx.h
src/h1_htx.c
src/hlua.c
src/http_fetch.c
src/mux_h2.c