]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: hlua/h1: Use http_parse_cont_len_header() to parse content-length value
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 15 Apr 2025 17:14:31 +0000 (19:14 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Apr 2025 14:14:47 +0000 (16:14 +0200)
commit9e05c14a416da1eb4291b604223d609ffa46ad2c
tree27b1f6ea48bec14b115f0b5a584b44309dc5a39f
parenta6b32922fc73598dcbe5344c4a880876dd51f9a1
MINOR: hlua/h1: Use http_parse_cont_len_header() to parse content-length value

Till now, h1_parse_cont_len_header() was used during the H1 message parsing and
by the lua HTTP applets to parse the content-length header value. But a more
generic function was added some years ago doing exactly the same operations. So
let's use it instead.
src/h1.c
src/hlua.c