REORG: http: move has_forbidden_char() from h2.c to http.h
authorWilly Tarreau <w@1wt.eu>
Tue, 8 Aug 2023 15:00:50 +0000 (17:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 Aug 2023 17:02:24 +0000 (19:02 +0200)
commitd4069f3cee0f6e94afaec518b6373dd368073f52
treea8bd253359a3e4945d312120c8bcac8b4224cbed
parent7c730803dcababd16432d5e31150c9b48831ab18
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().
include/haproxy/http.h
src/h2.c