]> git.kaiwu.me - haproxy.git/commit
REORG: h1: move legacy http functions to http_msg.c
authorWilly Tarreau <w@1wt.eu>
Tue, 11 Dec 2018 09:59:20 +0000 (10:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 11 Dec 2018 16:15:13 +0000 (17:15 +0100)
commit538746ad38ca0c3b710a4690784eeaeec63c45b2
tree0bd256d55e7c9d24cd9ef9f9a5eba2f71ea32cf4
parentc5a4fd5c30ba63f0737045a2f79ce89a13020b7a
REORG: h1: move legacy http functions to http_msg.c

Now that h1 and legacy HTTP are two distinct things, there's no need
to keep the legacy HTTP parsers in h1.c since they're only used by
the legacy code in proto_http.c, and h1.h doesn't need to include
hdr_idx anymore. This concerns the following functions :

- http_parse_reqline();
- http_parse_stsline();
- http_msg_analyzer();
- http_forward_trailers();

All of these were moved to http_msg.c.
include/proto/h1.h
include/proto/proto_http.h
src/h1.c
src/http_fetch.c
src/http_msg.c