]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: http: Remove the HTTP legacy code
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 16 Jul 2019 12:16:10 +0000 (14:16 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 19 Jul 2019 07:24:12 +0000 (09:24 +0200)
commit711ed6ae4a77197f0d9b375d06ad158c063ff643
treedd4ca036eac5b2495c8ea5825b5018d2a7f34448
parentbcac786b36b04359fbd08c70aecadd356825a4f2
MAJOR: http: Remove the HTTP legacy code

First of all, all legacy HTTP analyzers and all functions exclusively used by
them were removed. So the most of the functions in proto_http.{c,h} were
removed. Only functions to deal with the HTTP transaction have been kept. Then,
http_msg and hdr_idx modules were entirely removed. And finally the structure
http_msg was lightened of all its useless information about the legacy HTTP. The
structure hdr_ctx was also removed because unused now, just like unused states
in the enum h1_state. Note that the memory pool "hdr_idx" was removed and
"http_txn" is now smaller.
26 files changed:
Makefile
contrib/modsecurity/modsec_wrapper.c
include/proto/hdr_idx.h [deleted file]
include/proto/proto_http.h
include/types/hdr_idx.h [deleted file]
include/types/proto_http.h
include/types/sample.h
src/cache.c
src/cfgparse-listen.c
src/cfgparse.c
src/flt_http_comp.c
src/flt_trace.c
src/frontend.c
src/h1.c
src/haproxy.c
src/hdr_idx.c [deleted file]
src/hlua.c
src/http_fetch.c
src/http_msg.c [deleted file]
src/log.c
src/peers.c
src/proto_http.c
src/proto_htx.c
src/proxy.c
src/stream.c
src/tcp_rules.c