commit | 21c4ffd025115058994a3e2765c17fc3cee52f90 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Aug 08 17:00:50 2023 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Wed Aug 09 11:15:33 2023 +0200 |
tree | aec24ddefc5ffe30903c886ec5a092e182889f74 | |
parent | 80707f7765607083768a8f5a2a0b78e9a2f36af2 [diff] |
REORG: http: move has_forbidden_char() from h2.c to http.h This function is not H2 specific but rather generic to HTTP. We'll need it in H3 soon, so let's move it to HTTP and rename it to http_header_has_forbidden_char(). (cherry picked from commit d4069f3cee0f6e94afaec518b6373dd368073f52) [ad: backported for next patch BUG/MAJOR: h3: reject header values containing invalid chars] Signed-off-by: Amaury Denoyelle <adenoyelle@haproxy.com>