commit | 15f3cc4b389d1e92f7d537a2321ad027cf3b5a15 | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu Dec 08 16:53:58 2022 +0100 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Wed Dec 14 11:34:18 2022 +0100 |
tree | f0c06bf21ec8f265b88ee327d01258917fb58d73 | |
parent | 7b5a671fb8914aa2a2af113d69a80d5dc7ceb841 [diff] |
MINOR: http: extract content-length parsing from H2 Extract function h2_parse_cont_len_header() in the generic HTTP module. This allows to reuse it for all HTTP/x parsers. The function is now available as http_parse_cont_len_header(). Most notably, this will be reused in the next bugfix for the H3 parser. This is necessary to check that content-length header match the length of DATA frames. Thus, it must be backported to 2.6.