mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-21 14:17:30 -04:00
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:
parent
326e27ed08
commit
30925659ef
8 changed files with 1 additions and 7 deletions
|
|
@ -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];
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
#include <types/compression.h>
|
||||
#include <types/filters.h>
|
||||
#include <types/h1.h>
|
||||
#include <types/proxy.h>
|
||||
#include <types/sample.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue