CLEANUP: h1: remove some occurrences of unneeded h1.h inclusions

Several places where h1.h was included didn't need it at all since
they in fact relied on the legacy HTTP definitions.
This commit is contained in:
Willy Tarreau 2018-12-11 11:11:37 +01:00
parent 326e27ed08
commit 30925659ef
8 changed files with 1 additions and 7 deletions

View File

@ -26,7 +26,6 @@
#include <common/buf.h>
#include <common/ist.h>
#include <types/h1.h>
#include <types/http_htx.h>
extern struct buffer htx_err_chunks[HTTP_ERR_SIZE];

View File

@ -27,7 +27,6 @@
#include <types/stream.h>
#include <types/task.h>
#include <proto/channel.h>
#include <proto/h1.h>
#define IS_HTX_STRM(strm) (strm_fe(strm)->options2 & PR_O2_USE_HTX)
#define IS_HTX_SMP(smp) ((smp)->strm && IS_HTX_STRM((smp)->strm))

View File

@ -29,7 +29,6 @@
#include <common/regex.h>
#include <types/channel.h>
#include <types/h1.h>
#include <types/hdr_idx.h>
#include <types/filters.h>
//#include <types/sample.h>

View File

@ -19,7 +19,6 @@
#include <types/compression.h>
#include <types/filters.h>
#include <types/h1.h>
#include <types/proxy.h>
#include <types/sample.h>

View File

@ -22,7 +22,6 @@
#include <types/channel.h>
#include <types/filters.h>
#include <types/global.h>
#include <types/h1.h>
#include <types/proxy.h>
#include <types/stream.h>

View File

@ -26,7 +26,6 @@
#include <types/proxy.h>
#include <types/stats.h>
#include <proto/h1.h>
#include <proto/proxy.h>
#include <proto/server.h>
#include <proto/stats.h>

View File

@ -32,6 +32,7 @@
#include <proto/arg.h>
#include <proto/auth.h>
#include <proto/h1.h>
#include <proto/hdr_idx.h>
#include <proto/http_fetch.h>
#include <proto/http_htx.h>

View File

@ -37,7 +37,6 @@
#include <proto/applet.h>
#include <proto/cli.h>
#include <proto/frontend.h>
#include <proto/h1.h>
#include <proto/log.h>
#include <proto/sample.h>
#include <proto/stream.h>