mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-07 01:41:00 +01: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
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user