MINOR: http: export some of the HTTP parser macros
authorWilly Tarreau <w@1wt.eu>
Wed, 26 Jul 2017 06:07:15 +0000 (08:07 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 18 Aug 2017 11:38:47 +0000 (13:38 +0200)
commita5480694bfdff33e6327573cd7a97ff112ea4806
tree35768c15358e5a02474b3fa07036584b65235f9e
parentb6b3f660d01747c7d816534a01a04cc98ace9bff
MINOR: http: export some of the HTTP parser macros

The two macros EXPECT_LF_HERE and EAT_AND_JUMP_OR_RETURN were exported
for use outside the HTTP parser. They now take extra arguments to avoid
implicit pointers and jump labels. These will be used to reimplement a
minimalist HTTP/1 parser in the H1->H2 gateway.
include/proto/proto_http.h
src/proto_http.c