]> git.kaiwu.me - haproxy.git/commit
REORG: htx: merge types+proto into common/htx.h
authorWilly Tarreau <w@1wt.eu>
Tue, 11 Dec 2018 09:22:41 +0000 (10:22 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 11 Dec 2018 16:15:04 +0000 (17:15 +0100)
commitb96b77ed6eb33b0b6f5615242ac653069de5e526
tree469d8e34e251e35e17436c9a4acbe97ecf9860c1
parent99a17a2d91f9044ea20bba6617048488aed80555
REORG: htx: merge types+proto into common/htx.h

All the HTX definition is self-contained and doesn't really depend on
anything external since it's a mostly protocol. In addition, some
external similar files (like h2) also placed in common used to rely
on it, making it a bit awkward.

This patch moves the two htx.h files into a single self-contained one.
The historical dependency on sample.h could be also removed since it
used to be there only for http_meth_t which is now in http.h.
17 files changed:
include/common/h2.h
include/common/htx.h [moved from include/proto/htx.h with 79% similarity]
include/proto/channel.h
include/types/http_htx.h
include/types/htx.h [deleted file]
src/cache.c
src/filters.c
src/flt_http_comp.c
src/flt_trace.c
src/http_fetch.c
src/http_htx.c
src/htx.c
src/mux_h1.c
src/mux_h2.c
src/proto_htx.c
src/stats.c
src/stream.c