mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02:00
REORG: include: move proxy.h to haproxy/proxy{,-t}.h
This one is particularly difficult to split because it provides all the functions used to manipulate a proxy state and to retrieve names or IDs for error reporting, and as such, it was included in 73 files (down to 68 after cleanup). It would deserve a small cleanup though the cut points are not obvious at the moment given the number of structs involved in the struct proxy itself.
This commit is contained in:
parent
aeed4a85d6
commit
a264d960f6
@ -29,7 +29,7 @@
|
|||||||
#include <proto/backend.h>
|
#include <proto/backend.h>
|
||||||
#include <haproxy/compression.h>
|
#include <haproxy/compression.h>
|
||||||
#include <haproxy/pipe.h>
|
#include <haproxy/pipe.h>
|
||||||
#include <proto/proxy.h>
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <haproxy/ssl_sock.h>
|
#include <haproxy/ssl_sock.h>
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include <haproxy/api.h>
|
#include <haproxy/api.h>
|
||||||
#include <haproxy/list-t.h>
|
#include <haproxy/list-t.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
#include <proto/proxy.h>
|
#include <haproxy/proxy.h>
|
||||||
|
|
||||||
/* configuration sections */
|
/* configuration sections */
|
||||||
#define CFG_NONE 0
|
#define CFG_NONE 0
|
||||||
|
@ -24,11 +24,11 @@
|
|||||||
|
|
||||||
#include <import/ebmbtree.h>
|
#include <import/ebmbtree.h>
|
||||||
|
|
||||||
|
#include <haproxy/arg-t.h>
|
||||||
#include <haproxy/list-t.h>
|
#include <haproxy/list-t.h>
|
||||||
#include <haproxy/pattern-t.h>
|
#include <haproxy/pattern-t.h>
|
||||||
#include <haproxy/api-t.h>
|
#include <haproxy/api-t.h>
|
||||||
|
|
||||||
#include <types/proxy.h>
|
|
||||||
#include <types/server.h>
|
#include <types/server.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -27,10 +27,10 @@
|
|||||||
#include <haproxy/freq_ctr-t.h>
|
#include <haproxy/freq_ctr-t.h>
|
||||||
#include <haproxy/hlua-t.h>
|
#include <haproxy/hlua-t.h>
|
||||||
#include <haproxy/obj_type-t.h>
|
#include <haproxy/obj_type-t.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/api-t.h>
|
#include <haproxy/api-t.h>
|
||||||
#include <haproxy/xref-t.h>
|
#include <haproxy/xref-t.h>
|
||||||
|
|
||||||
#include <types/proxy.h>
|
|
||||||
#include <types/stream.h>
|
#include <types/stream.h>
|
||||||
|
|
||||||
/* flags for appctx->state */
|
/* flags for appctx->state */
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#include <haproxy/check-t.h>
|
#include <haproxy/check-t.h>
|
||||||
#include <haproxy/list-t.h>
|
#include <haproxy/list-t.h>
|
||||||
#include <haproxy/mailers.h>
|
#include <haproxy/mailers.h>
|
||||||
#include <types/proxy.h>
|
#include <haproxy/proxy-t.h>
|
||||||
#include <types/server.h>
|
#include <types/server.h>
|
||||||
|
|
||||||
const char *get_check_status_description(short check_status);
|
const char *get_check_status_description(short check_status);
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#define _HAPROXY_HTTP_FCGI_H
|
#define _HAPROXY_HTTP_FCGI_H
|
||||||
|
|
||||||
#include <haproxy/fcgi-app-t.h>
|
#include <haproxy/fcgi-app-t.h>
|
||||||
#include <types/proxy.h>
|
#include <haproxy/proxy-t.h>
|
||||||
#include <types/stream.h>
|
#include <types/stream.h>
|
||||||
|
|
||||||
struct fcgi_app *fcgi_app_find_by_name(const char *name);
|
struct fcgi_app *fcgi_app_find_by_name(const char *name);
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#include <haproxy/channel.h>
|
#include <haproxy/channel.h>
|
||||||
#include <haproxy/filters-t.h>
|
#include <haproxy/filters-t.h>
|
||||||
#include <haproxy/http_ana-t.h>
|
#include <haproxy/http_ana-t.h>
|
||||||
#include <types/proxy.h>
|
#include <haproxy/proxy-t.h>
|
||||||
#include <types/stream.h>
|
#include <types/stream.h>
|
||||||
|
|
||||||
extern const char *trace_flt_id;
|
extern const char *trace_flt_id;
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#ifndef _HAPROXY_FLT_HTTP_COMP_H
|
#ifndef _HAPROXY_FLT_HTTP_COMP_H
|
||||||
#define _HAPROXY_FLT_HTTP_COMP_H
|
#define _HAPROXY_FLT_HTTP_COMP_H
|
||||||
|
|
||||||
#include <types/proxy.h>
|
#include <haproxy/proxy-t.h>
|
||||||
|
|
||||||
int check_implicit_http_comp_flt(struct proxy *proxy);
|
int check_implicit_http_comp_flt(struct proxy *proxy);
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#include <haproxy/vars-t.h>
|
#include <haproxy/vars-t.h>
|
||||||
#include <haproxy/mworker-t.h>
|
#include <haproxy/mworker-t.h>
|
||||||
|
|
||||||
#include <types/proxy.h>
|
#include <haproxy/proxy-t.h>
|
||||||
|
|
||||||
extern struct global global;
|
extern struct global global;
|
||||||
extern int pid; /* current process id */
|
extern int pid; /* current process id */
|
||||||
|
@ -30,10 +30,10 @@
|
|||||||
#include <import/ebpttree.h>
|
#include <import/ebpttree.h>
|
||||||
|
|
||||||
#include <haproxy/list-t.h>
|
#include <haproxy/list-t.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/regex-t.h>
|
#include <haproxy/regex-t.h>
|
||||||
#include <haproxy/xref-t.h>
|
#include <haproxy/xref-t.h>
|
||||||
|
|
||||||
#include <types/proxy.h>
|
|
||||||
#include <types/server.h>
|
#include <types/server.h>
|
||||||
#include <haproxy/stick_table-t.h>
|
#include <haproxy/stick_table-t.h>
|
||||||
|
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
#include <import/ist.h>
|
#include <import/ist.h>
|
||||||
#include <haproxy/buf-t.h>
|
#include <haproxy/buf-t.h>
|
||||||
#include <haproxy/http_htx-t.h>
|
#include <haproxy/http_htx-t.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/regex-t.h>
|
#include <haproxy/regex-t.h>
|
||||||
#include <types/proxy.h>
|
|
||||||
|
|
||||||
extern struct buffer http_err_chunks[HTTP_ERR_SIZE];
|
extern struct buffer http_err_chunks[HTTP_ERR_SIZE];
|
||||||
extern struct http_reply http_err_replies[HTTP_ERR_SIZE];
|
extern struct http_reply http_err_replies[HTTP_ERR_SIZE];
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include <haproxy/api.h>
|
#include <haproxy/api.h>
|
||||||
#include <haproxy/list.h>
|
#include <haproxy/list.h>
|
||||||
#include <haproxy/action-t.h>
|
#include <haproxy/action-t.h>
|
||||||
#include <types/proxy.h>
|
#include <haproxy/proxy-t.h>
|
||||||
|
|
||||||
extern struct action_kw_list http_req_keywords;
|
extern struct action_kw_list http_req_keywords;
|
||||||
extern struct action_kw_list http_res_keywords;
|
extern struct action_kw_list http_res_keywords;
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include <haproxy/api.h>
|
#include <haproxy/api.h>
|
||||||
#include <haproxy/lb_fas-t.h>
|
#include <haproxy/lb_fas-t.h>
|
||||||
#include <types/proxy.h>
|
#include <haproxy/proxy-t.h>
|
||||||
#include <types/server.h>
|
#include <types/server.h>
|
||||||
|
|
||||||
struct server *fas_get_next_server(struct proxy *p, struct server *srvtoavoid);
|
struct server *fas_get_next_server(struct proxy *p, struct server *srvtoavoid);
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include <haproxy/api.h>
|
#include <haproxy/api.h>
|
||||||
#include <haproxy/lb_fwlc-t.h>
|
#include <haproxy/lb_fwlc-t.h>
|
||||||
#include <types/proxy.h>
|
#include <haproxy/proxy-t.h>
|
||||||
#include <types/server.h>
|
#include <types/server.h>
|
||||||
|
|
||||||
struct server *fwlc_get_next_server(struct proxy *p, struct server *srvtoavoid);
|
struct server *fwlc_get_next_server(struct proxy *p, struct server *srvtoavoid);
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include <haproxy/api.h>
|
#include <haproxy/api.h>
|
||||||
#include <haproxy/lb_fwrr-t.h>
|
#include <haproxy/lb_fwrr-t.h>
|
||||||
#include <types/proxy.h>
|
#include <haproxy/proxy-t.h>
|
||||||
#include <types/server.h>
|
#include <types/server.h>
|
||||||
|
|
||||||
void fwrr_init_server_groups(struct proxy *p);
|
void fwrr_init_server_groups(struct proxy *p);
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#define _HAPROXY_LB_MAP_H
|
#define _HAPROXY_LB_MAP_H
|
||||||
|
|
||||||
#include <haproxy/api.h>
|
#include <haproxy/api.h>
|
||||||
#include <types/proxy.h>
|
#include <haproxy/proxy-t.h>
|
||||||
#include <types/server.h>
|
#include <types/server.h>
|
||||||
|
|
||||||
void recalc_server_map(struct proxy *px);
|
void recalc_server_map(struct proxy *px);
|
||||||
|
@ -27,9 +27,9 @@
|
|||||||
#include <haproxy/api.h>
|
#include <haproxy/api.h>
|
||||||
#include <haproxy/log-t.h>
|
#include <haproxy/log-t.h>
|
||||||
#include <haproxy/pool-t.h>
|
#include <haproxy/pool-t.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/thread-t.h>
|
#include <haproxy/thread-t.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <types/proxy.h>
|
|
||||||
|
|
||||||
extern struct pool_head *pool_head_requri;
|
extern struct pool_head *pool_head_requri;
|
||||||
extern struct pool_head *pool_head_uniqueid;
|
extern struct pool_head *pool_head_uniqueid;
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#include <haproxy/listener-t.h>
|
#include <haproxy/listener-t.h>
|
||||||
#include <haproxy/obj_type-t.h>
|
#include <haproxy/obj_type-t.h>
|
||||||
#include <haproxy/pool.h>
|
#include <haproxy/pool.h>
|
||||||
#include <types/proxy.h>
|
#include <haproxy/proxy-t.h>
|
||||||
#include <types/server.h>
|
#include <types/server.h>
|
||||||
#include <types/stream.h>
|
#include <types/stream.h>
|
||||||
#include <haproxy/stream_interface-t.h>
|
#include <haproxy/stream_interface-t.h>
|
||||||
|
@ -26,9 +26,9 @@
|
|||||||
#include <haproxy/connection.h>
|
#include <haproxy/connection.h>
|
||||||
#include <haproxy/obj_type.h>
|
#include <haproxy/obj_type.h>
|
||||||
#include <haproxy/peers-t.h>
|
#include <haproxy/peers-t.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
|
|
||||||
#include <types/proxy.h>
|
|
||||||
#include <haproxy/stick_table-t.h>
|
#include <haproxy/stick_table-t.h>
|
||||||
#include <types/stream.h>
|
#include <types/stream.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* include/types/proxy.h
|
* include/haproxy/proxy-t.h
|
||||||
* This file defines everything related to proxies.
|
* This file defines everything related to proxies.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2000-2011 Willy Tarreau - w@1wt.eu
|
* Copyright (C) 2000-2011 Willy Tarreau - w@1wt.eu
|
||||||
@ -19,33 +19,27 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _TYPES_PROXY_H
|
#ifndef _HAPROXY_PROXY_T_H
|
||||||
#define _TYPES_PROXY_H
|
#define _HAPROXY_PROXY_T_H
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
|
||||||
|
#include <import/eb32tree.h>
|
||||||
|
#include <import/ebpttree.h>
|
||||||
|
|
||||||
#include <haproxy/arg-t.h>
|
#include <haproxy/arg-t.h>
|
||||||
#include <haproxy/api-t.h>
|
|
||||||
#include <haproxy/check-t.h>
|
#include <haproxy/check-t.h>
|
||||||
#include <haproxy/chunk.h>
|
|
||||||
#include <haproxy/counters-t.h>
|
#include <haproxy/counters-t.h>
|
||||||
#include <haproxy/http-t.h>
|
#include <haproxy/freq_ctr-t.h>
|
||||||
#include <haproxy/list-t.h>
|
#include <haproxy/list-t.h>
|
||||||
#include <haproxy/obj_type-t.h>
|
#include <haproxy/obj_type-t.h>
|
||||||
#include <haproxy/thread.h>
|
#include <haproxy/thread-t.h>
|
||||||
|
#include <haproxy/api-t.h>
|
||||||
#include <import/eb32tree.h>
|
|
||||||
#include <import/ebistree.h>
|
|
||||||
|
|
||||||
#include <haproxy/acl-t.h>
|
|
||||||
#include <types/backend.h>
|
#include <types/backend.h>
|
||||||
#include <haproxy/freq_ctr-t.h>
|
|
||||||
#include <haproxy/sample-t.h>
|
|
||||||
#include <types/server.h>
|
#include <types/server.h>
|
||||||
#include <haproxy/stick_table-t.h>
|
|
||||||
|
|
||||||
/* values for proxy->state */
|
/* values for proxy->state */
|
||||||
enum pr_state {
|
enum pr_state {
|
||||||
@ -532,7 +526,7 @@ struct cfg_opt {
|
|||||||
unsigned int mode;
|
unsigned int mode;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* _TYPES_PROXY_H */
|
#endif /* _HAPROXY_PROXY_T_H */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local variables:
|
* Local variables:
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* include/proto/proxy.h
|
* include/haproxy/proxy.h
|
||||||
* This file defines function prototypes for proxy management.
|
* This file defines function prototypes for proxy management.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2000-2011 Willy Tarreau - w@1wt.eu
|
* Copyright (C) 2000-2011 Willy Tarreau - w@1wt.eu
|
||||||
@ -19,17 +19,17 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _PROTO_PROXY_H
|
#ifndef _HAPROXY_PROXY_H
|
||||||
#define _PROTO_PROXY_H
|
#define _HAPROXY_PROXY_H
|
||||||
|
|
||||||
#include <haproxy/applet-t.h>
|
#include <haproxy/applet-t.h>
|
||||||
#include <haproxy/api.h>
|
#include <haproxy/api.h>
|
||||||
|
#include <haproxy/freq_ctr.h>
|
||||||
#include <haproxy/listener-t.h>
|
#include <haproxy/listener-t.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/ticks.h>
|
#include <haproxy/ticks.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
#include <haproxy/global-t.h>
|
#include <types/server.h>
|
||||||
#include <types/proxy.h>
|
|
||||||
#include <haproxy/freq_ctr.h>
|
|
||||||
|
|
||||||
extern struct proxy *proxies_list;
|
extern struct proxy *proxies_list;
|
||||||
extern struct eb_root used_proxy_id; /* list of proxy IDs in use */
|
extern struct eb_root used_proxy_id; /* list of proxy IDs in use */
|
||||||
@ -191,7 +191,7 @@ static inline int in_proxies_list(struct proxy *list, struct proxy *proxy)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* _PROTO_PROXY_H */
|
#endif /* _HAPROXY_PROXY_H */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local variables:
|
* Local variables:
|
@ -28,10 +28,9 @@
|
|||||||
#include <haproxy/openssl-compat.h>
|
#include <haproxy/openssl-compat.h>
|
||||||
#include <haproxy/ssl_sock-t.h>
|
#include <haproxy/ssl_sock-t.h>
|
||||||
#include <haproxy/pool-t.h>
|
#include <haproxy/pool-t.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/thread.h>
|
#include <haproxy/thread.h>
|
||||||
|
|
||||||
#include <types/proxy.h>
|
|
||||||
|
|
||||||
extern struct list tlskeys_reference;
|
extern struct list tlskeys_reference;
|
||||||
extern int sslconns;
|
extern int sslconns;
|
||||||
extern int totalsslconns;
|
extern int totalsslconns;
|
||||||
|
@ -23,10 +23,10 @@
|
|||||||
#define _PROTO_BACKEND_H
|
#define _PROTO_BACKEND_H
|
||||||
|
|
||||||
#include <haproxy/api.h>
|
#include <haproxy/api.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
|
|
||||||
#include <types/backend.h>
|
#include <types/backend.h>
|
||||||
#include <types/proxy.h>
|
|
||||||
#include <types/server.h>
|
#include <types/server.h>
|
||||||
#include <types/stream.h>
|
#include <types/stream.h>
|
||||||
|
|
||||||
|
@ -24,8 +24,8 @@
|
|||||||
|
|
||||||
#include <haproxy/api.h>
|
#include <haproxy/api.h>
|
||||||
#include <haproxy/pool.h>
|
#include <haproxy/pool.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
|
|
||||||
#include <types/proxy.h>
|
|
||||||
#include <types/queue.h>
|
#include <types/queue.h>
|
||||||
#include <types/stream.h>
|
#include <types/stream.h>
|
||||||
#include <types/server.h>
|
#include <types/server.h>
|
||||||
|
@ -27,9 +27,9 @@
|
|||||||
#include <haproxy/applet-t.h>
|
#include <haproxy/applet-t.h>
|
||||||
#include <haproxy/api.h>
|
#include <haproxy/api.h>
|
||||||
#include <haproxy/dns-t.h>
|
#include <haproxy/dns-t.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
#include <types/proxy.h>
|
|
||||||
#include <types/queue.h>
|
#include <types/queue.h>
|
||||||
#include <types/server.h>
|
#include <types/server.h>
|
||||||
|
|
||||||
|
@ -27,10 +27,10 @@
|
|||||||
#include <haproxy/dynbuf-t.h>
|
#include <haproxy/dynbuf-t.h>
|
||||||
#include <haproxy/filters-t.h>
|
#include <haproxy/filters-t.h>
|
||||||
#include <haproxy/list-t.h>
|
#include <haproxy/list-t.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/thread.h>
|
#include <haproxy/thread.h>
|
||||||
|
|
||||||
#include <haproxy/freq_ctr-t.h>
|
#include <haproxy/freq_ctr-t.h>
|
||||||
#include <types/proxy.h>
|
|
||||||
#include <haproxy/sample-t.h>
|
#include <haproxy/sample-t.h>
|
||||||
#include <types/stream.h>
|
#include <types/stream.h>
|
||||||
#include <haproxy/task-t.h>
|
#include <haproxy/task-t.h>
|
||||||
|
@ -36,11 +36,11 @@
|
|||||||
#include <haproxy/http_ana-t.h>
|
#include <haproxy/http_ana-t.h>
|
||||||
#include <haproxy/list-t.h>
|
#include <haproxy/list-t.h>
|
||||||
#include <haproxy/obj_type-t.h>
|
#include <haproxy/obj_type-t.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/session-t.h>
|
#include <haproxy/session-t.h>
|
||||||
#include <haproxy/stream_interface-t.h>
|
#include <haproxy/stream_interface-t.h>
|
||||||
#include <haproxy/vars-t.h>
|
#include <haproxy/vars-t.h>
|
||||||
|
|
||||||
#include <types/proxy.h>
|
|
||||||
#include <types/queue.h>
|
#include <types/queue.h>
|
||||||
#include <types/server.h>
|
#include <types/server.h>
|
||||||
#include <haproxy/task-t.h>
|
#include <haproxy/task-t.h>
|
||||||
|
@ -20,12 +20,12 @@
|
|||||||
#include <haproxy/list.h>
|
#include <haproxy/list.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
#include <haproxy/pattern.h>
|
#include <haproxy/pattern.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
|
|
||||||
#include <haproxy/global.h>
|
#include <haproxy/global.h>
|
||||||
|
|
||||||
#include <haproxy/arg.h>
|
#include <haproxy/arg.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <haproxy/stick_table.h>
|
#include <haproxy/stick_table.h>
|
||||||
|
|
||||||
|
@ -16,10 +16,10 @@
|
|||||||
#include <haproxy/pool.h>
|
#include <haproxy/pool.h>
|
||||||
#include <haproxy/list.h>
|
#include <haproxy/list.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
|
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <haproxy/stick_table.h>
|
#include <haproxy/stick_table.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
#include <haproxy/obj_type.h>
|
#include <haproxy/obj_type.h>
|
||||||
#include <haproxy/payload.h>
|
#include <haproxy/payload.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/session.h>
|
#include <haproxy/session.h>
|
||||||
#include <haproxy/ssl_sock.h>
|
#include <haproxy/ssl_sock.h>
|
||||||
#include <haproxy/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
@ -51,7 +52,6 @@
|
|||||||
#include <proto/backend.h>
|
#include <proto/backend.h>
|
||||||
#include <haproxy/protocol.h>
|
#include <haproxy/protocol.h>
|
||||||
#include <haproxy/proto_tcp.h>
|
#include <haproxy/proto_tcp.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/queue.h>
|
#include <proto/queue.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
|
@ -19,14 +19,12 @@
|
|||||||
#include <haproxy/http_htx.h>
|
#include <haproxy/http_htx.h>
|
||||||
#include <haproxy/http_rules.h>
|
#include <haproxy/http_rules.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/shctx.h>
|
#include <haproxy/shctx.h>
|
||||||
#include <haproxy/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
#include <import/eb32tree.h>
|
#include <import/eb32tree.h>
|
||||||
#include <import/sha1.h>
|
#include <import/sha1.h>
|
||||||
|
|
||||||
#include <types/proxy.h>
|
|
||||||
|
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,11 +23,11 @@
|
|||||||
#include <haproxy/http_rules.h>
|
#include <haproxy/http_rules.h>
|
||||||
#include <haproxy/listener.h>
|
#include <haproxy/listener.h>
|
||||||
#include <haproxy/peers.h>
|
#include <haproxy/peers.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <haproxy/stats-t.h>
|
#include <haproxy/stats-t.h>
|
||||||
|
|
||||||
#include <haproxy/protocol.h>
|
#include <haproxy/protocol.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <haproxy/stick_table.h>
|
#include <haproxy/stick_table.h>
|
||||||
|
|
||||||
|
@ -60,6 +60,7 @@
|
|||||||
#include <haproxy/obj_type-t.h>
|
#include <haproxy/obj_type-t.h>
|
||||||
#include <haproxy/peers-t.h>
|
#include <haproxy/peers-t.h>
|
||||||
#include <haproxy/pool.h>
|
#include <haproxy/pool.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/session.h>
|
#include <haproxy/session.h>
|
||||||
#include <haproxy/stats-t.h>
|
#include <haproxy/stats-t.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
@ -73,7 +74,6 @@
|
|||||||
|
|
||||||
#include <proto/backend.h>
|
#include <proto/backend.h>
|
||||||
#include <haproxy/protocol.h>
|
#include <haproxy/protocol.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <haproxy/peers.h>
|
#include <haproxy/peers.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
|
@ -47,6 +47,7 @@
|
|||||||
#include <haproxy/h1.h>
|
#include <haproxy/h1.h>
|
||||||
#include <haproxy/htx.h>
|
#include <haproxy/htx.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/signal.h>
|
#include <haproxy/signal.h>
|
||||||
#include <haproxy/ssl_sock.h>
|
#include <haproxy/ssl_sock.h>
|
||||||
#include <haproxy/stats-t.h>
|
#include <haproxy/stats-t.h>
|
||||||
@ -63,7 +64,6 @@
|
|||||||
#include <haproxy/port_range.h>
|
#include <haproxy/port_range.h>
|
||||||
#include <haproxy/proto_tcp.h>
|
#include <haproxy/proto_tcp.h>
|
||||||
#include <haproxy/protocol.h>
|
#include <haproxy/protocol.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <haproxy/proto_udp.h>
|
#include <haproxy/proto_udp.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
|
@ -40,6 +40,7 @@
|
|||||||
#include <haproxy/mworker-t.h>
|
#include <haproxy/mworker-t.h>
|
||||||
#include <haproxy/pattern-t.h>
|
#include <haproxy/pattern-t.h>
|
||||||
#include <haproxy/peers.h>
|
#include <haproxy/peers.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/sample-t.h>
|
#include <haproxy/sample-t.h>
|
||||||
#include <haproxy/session.h>
|
#include <haproxy/session.h>
|
||||||
#include <haproxy/stats-t.h>
|
#include <haproxy/stats-t.h>
|
||||||
@ -60,7 +61,6 @@
|
|||||||
#include <haproxy/freq_ctr.h>
|
#include <haproxy/freq_ctr.h>
|
||||||
#include <haproxy/pipe.h>
|
#include <haproxy/pipe.h>
|
||||||
#include <haproxy/protocol.h>
|
#include <haproxy/protocol.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#include <haproxy/errors.h>
|
#include <haproxy/errors.h>
|
||||||
#include <haproxy/http_rules.h>
|
#include <haproxy/http_rules.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <haproxy/stats-t.h>
|
#include <haproxy/stats-t.h>
|
||||||
#include <haproxy/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
@ -44,7 +45,6 @@
|
|||||||
#include <haproxy/fd.h>
|
#include <haproxy/fd.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <haproxy/proto_udp.h>
|
#include <haproxy/proto_udp.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
|
|
||||||
struct list dns_resolvers = LIST_HEAD_INIT(dns_resolvers);
|
struct list dns_resolvers = LIST_HEAD_INIT(dns_resolvers);
|
||||||
struct list dns_srvrq_list = LIST_HEAD_INIT(dns_srvrq_list);
|
struct list dns_srvrq_list = LIST_HEAD_INIT(dns_srvrq_list);
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#include <haproxy/http_fetch.h>
|
#include <haproxy/http_fetch.h>
|
||||||
#include <haproxy/http_htx.h>
|
#include <haproxy/http_htx.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/regex.h>
|
#include <haproxy/regex.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <haproxy/session.h>
|
#include <haproxy/session.h>
|
||||||
@ -27,7 +28,6 @@
|
|||||||
|
|
||||||
#include <haproxy/global.h>
|
#include <haproxy/global.h>
|
||||||
|
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
|
|
||||||
/* Global list of all FCGI applications */
|
/* Global list of all FCGI applications */
|
||||||
|
@ -20,11 +20,10 @@
|
|||||||
#include <common/cfgparse.h>
|
#include <common/cfgparse.h>
|
||||||
#include <haproxy/htx.h>
|
#include <haproxy/htx.h>
|
||||||
#include <haproxy/list.h>
|
#include <haproxy/list.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
|
|
||||||
#include <types/proxy.h>
|
|
||||||
|
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
|
|
||||||
const char *http_comp_flt_id = "compression filter";
|
const char *http_comp_flt_id = "compression filter";
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include <haproxy/signal.h>
|
#include <haproxy/signal.h>
|
||||||
#include <haproxy/thread.h>
|
#include <haproxy/thread.h>
|
||||||
#include <haproxy/pool.h>
|
#include <haproxy/pool.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/session.h>
|
#include <haproxy/session.h>
|
||||||
#include <haproxy/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
@ -38,7 +39,6 @@
|
|||||||
#include <haproxy/arg.h>
|
#include <haproxy/arg.h>
|
||||||
#include <proto/backend.h>
|
#include <proto/backend.h>
|
||||||
#include <haproxy/freq_ctr.h>
|
#include <haproxy/freq_ctr.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/spoe.h>
|
#include <proto/spoe.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
|
|
||||||
|
@ -19,11 +19,11 @@
|
|||||||
#include <haproxy/http_htx.h>
|
#include <haproxy/http_htx.h>
|
||||||
#include <haproxy/htx.h>
|
#include <haproxy/htx.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
|
|
||||||
#include <haproxy/global.h>
|
#include <haproxy/global.h>
|
||||||
#include <types/proxy.h>
|
|
||||||
#include <types/stream.h>
|
#include <types/stream.h>
|
||||||
|
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include <haproxy/frontend.h>
|
#include <haproxy/frontend.h>
|
||||||
#include <haproxy/http_ana.h>
|
#include <haproxy/http_ana.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <haproxy/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
@ -39,7 +40,6 @@
|
|||||||
#include <haproxy/arg.h>
|
#include <haproxy/arg.h>
|
||||||
#include <haproxy/fd.h>
|
#include <haproxy/fd.h>
|
||||||
#include <haproxy/proto_tcp.h>
|
#include <haproxy/proto_tcp.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
|
|
||||||
/* Finish a stream accept() for a proxy (TCP or HTTP). It returns a negative
|
/* Finish a stream accept() for a proxy (TCP or HTTP). It returns a negative
|
||||||
|
@ -104,6 +104,7 @@
|
|||||||
#include <haproxy/openssl-compat.h>
|
#include <haproxy/openssl-compat.h>
|
||||||
#include <haproxy/pattern.h>
|
#include <haproxy/pattern.h>
|
||||||
#include <haproxy/peers.h>
|
#include <haproxy/peers.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <haproxy/regex.h>
|
#include <haproxy/regex.h>
|
||||||
#include <haproxy/session.h>
|
#include <haproxy/session.h>
|
||||||
@ -125,7 +126,6 @@
|
|||||||
#include <proto/backend.h>
|
#include <proto/backend.h>
|
||||||
#include <haproxy/fd.h>
|
#include <haproxy/fd.h>
|
||||||
#include <haproxy/protocol.h>
|
#include <haproxy/protocol.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/queue.h>
|
#include <proto/queue.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
|
@ -43,6 +43,7 @@
|
|||||||
#include <haproxy/obj_type.h>
|
#include <haproxy/obj_type.h>
|
||||||
#include <haproxy/pattern.h>
|
#include <haproxy/pattern.h>
|
||||||
#include <haproxy/payload.h>
|
#include <haproxy/payload.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <haproxy/session.h>
|
#include <haproxy/session.h>
|
||||||
#include <haproxy/stats-t.h>
|
#include <haproxy/stats-t.h>
|
||||||
@ -52,8 +53,6 @@
|
|||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
#include <haproxy/vars.h>
|
#include <haproxy/vars.h>
|
||||||
|
|
||||||
#include <types/proxy.h>
|
|
||||||
|
|
||||||
#include <haproxy/arg.h>
|
#include <haproxy/arg.h>
|
||||||
#include <proto/queue.h>
|
#include <proto/queue.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
|
@ -23,13 +23,12 @@
|
|||||||
#include <haproxy/http.h>
|
#include <haproxy/http.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
#include <haproxy/net_helper.h>
|
#include <haproxy/net_helper.h>
|
||||||
|
#include <haproxy/pattern-t.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/regex.h>
|
#include <haproxy/regex.h>
|
||||||
#include <haproxy/stats.h>
|
#include <haproxy/stats.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
|
|
||||||
#include <types/proxy.h>
|
|
||||||
|
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <haproxy/stick_table.h>
|
#include <haproxy/stick_table.h>
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include <haproxy/htx.h>
|
#include <haproxy/htx.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
#include <haproxy/net_helper.h>
|
#include <haproxy/net_helper.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/regex.h>
|
#include <haproxy/regex.h>
|
||||||
#include <haproxy/stats.h>
|
#include <haproxy/stats.h>
|
||||||
#include <haproxy/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
@ -32,7 +33,6 @@
|
|||||||
|
|
||||||
#include <haproxy/capture-t.h>
|
#include <haproxy/capture-t.h>
|
||||||
|
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
|
|
||||||
|
@ -23,13 +23,12 @@
|
|||||||
#include <haproxy/list.h>
|
#include <haproxy/list.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
#include <haproxy/net_helper.h>
|
#include <haproxy/net_helper.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/regex.h>
|
#include <haproxy/regex.h>
|
||||||
#include <haproxy/session-t.h>
|
#include <haproxy/session-t.h>
|
||||||
#include <haproxy/ssl_sock.h>
|
#include <haproxy/ssl_sock.h>
|
||||||
#include <haproxy/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
|
|
||||||
#include <types/proxy.h>
|
|
||||||
|
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <haproxy/trace.h>
|
#include <haproxy/trace.h>
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#include <import/ebistree.h>
|
#include <import/ebistree.h>
|
||||||
|
|
||||||
#include <haproxy/pipe-t.h>
|
#include <haproxy/pipe-t.h>
|
||||||
#include <types/proxy.h>
|
#include <haproxy/proxy-t.h>
|
||||||
|
|
||||||
#include <haproxy/http_htx.h>
|
#include <haproxy/http_htx.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
#include <haproxy/mworker.h>
|
#include <haproxy/mworker.h>
|
||||||
#include <haproxy/peers.h>
|
#include <haproxy/peers.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/signal.h>
|
#include <haproxy/signal.h>
|
||||||
#include <haproxy/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/version.h>
|
#include <haproxy/version.h>
|
||||||
@ -32,7 +33,6 @@
|
|||||||
#include <haproxy/global.h>
|
#include <haproxy/global.h>
|
||||||
|
|
||||||
#include <haproxy/fd.h>
|
#include <haproxy/fd.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include <haproxy/net_helper.h>
|
#include <haproxy/net_helper.h>
|
||||||
#include <haproxy/obj_type-t.h>
|
#include <haproxy/obj_type-t.h>
|
||||||
#include <haproxy/peers.h>
|
#include <haproxy/peers.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/session-t.h>
|
#include <haproxy/session-t.h>
|
||||||
#include <haproxy/signal.h>
|
#include <haproxy/signal.h>
|
||||||
@ -40,7 +41,6 @@
|
|||||||
#include <haproxy/thread.h>
|
#include <haproxy/thread.h>
|
||||||
|
|
||||||
#include <haproxy/fd.h>
|
#include <haproxy/fd.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <haproxy/stick_table.h>
|
#include <haproxy/stick_table.h>
|
||||||
|
|
||||||
|
@ -40,6 +40,7 @@
|
|||||||
#include <haproxy/list.h>
|
#include <haproxy/list.h>
|
||||||
#include <haproxy/listener.h>
|
#include <haproxy/listener.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
|
#include <haproxy/proxy-t.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
#include <haproxy/namespace.h>
|
#include <haproxy/namespace.h>
|
||||||
@ -51,7 +52,6 @@
|
|||||||
#include <haproxy/port_range.h>
|
#include <haproxy/port_range.h>
|
||||||
#include <haproxy/protocol.h>
|
#include <haproxy/protocol.h>
|
||||||
#include <haproxy/proto_tcp.h>
|
#include <haproxy/proto_tcp.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <haproxy/tcp_rules.h>
|
#include <haproxy/tcp_rules.h>
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include <haproxy/obj_type-t.h>
|
#include <haproxy/obj_type-t.h>
|
||||||
#include <haproxy/peers.h>
|
#include <haproxy/peers.h>
|
||||||
#include <haproxy/pool.h>
|
#include <haproxy/pool.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/stats-t.h>
|
#include <haproxy/stats-t.h>
|
||||||
#include <haproxy/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
@ -43,7 +44,6 @@
|
|||||||
#include <proto/backend.h>
|
#include <proto/backend.h>
|
||||||
#include <haproxy/fd.h>
|
#include <haproxy/fd.h>
|
||||||
#include <haproxy/proto_tcp.h>
|
#include <haproxy/proto_tcp.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <haproxy/signal.h>
|
#include <haproxy/signal.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
#include <haproxy/net_helper.h>
|
#include <haproxy/net_helper.h>
|
||||||
#include <haproxy/protobuf.h>
|
#include <haproxy/protobuf.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/regex.h>
|
#include <haproxy/regex.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
@ -35,7 +36,6 @@
|
|||||||
#include <haproxy/base64.h>
|
#include <haproxy/base64.h>
|
||||||
|
|
||||||
#include <haproxy/arg.h>
|
#include <haproxy/arg.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <haproxy/sink.h>
|
#include <haproxy/sink.h>
|
||||||
#include <haproxy/stick_table.h>
|
#include <haproxy/stick_table.h>
|
||||||
|
|
||||||
|
@ -17,11 +17,11 @@
|
|||||||
#include <haproxy/listener.h>
|
#include <haproxy/listener.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
#include <haproxy/pool.h>
|
#include <haproxy/pool.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/session.h>
|
#include <haproxy/session.h>
|
||||||
#include <haproxy/tcp_rules.h>
|
#include <haproxy/tcp_rules.h>
|
||||||
#include <haproxy/vars.h>
|
#include <haproxy/vars.h>
|
||||||
|
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
|
|
||||||
DECLARE_POOL(pool_head_session, "session", sizeof(struct session));
|
DECLARE_POOL(pool_head_session, "session", sizeof(struct session));
|
||||||
|
@ -56,6 +56,7 @@
|
|||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
#include <haproxy/openssl-compat.h>
|
#include <haproxy/openssl-compat.h>
|
||||||
#include <haproxy/pattern-t.h>
|
#include <haproxy/pattern-t.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/shctx.h>
|
#include <haproxy/shctx.h>
|
||||||
#include <haproxy/ssl_ckch.h>
|
#include <haproxy/ssl_ckch.h>
|
||||||
#include <haproxy/ssl_crtlist.h>
|
#include <haproxy/ssl_crtlist.h>
|
||||||
@ -78,7 +79,6 @@
|
|||||||
#include <haproxy/freq_ctr.h>
|
#include <haproxy/freq_ctr.h>
|
||||||
#include <haproxy/proto_tcp.h>
|
#include <haproxy/proto_tcp.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
|
|
||||||
/* ***** READ THIS before adding code here! *****
|
/* ***** READ THIS before adding code here! *****
|
||||||
|
@ -44,6 +44,7 @@
|
|||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
#include <haproxy/map-t.h>
|
#include <haproxy/map-t.h>
|
||||||
#include <haproxy/pattern-t.h>
|
#include <haproxy/pattern-t.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/session.h>
|
#include <haproxy/session.h>
|
||||||
#include <haproxy/ssl_sock.h>
|
#include <haproxy/ssl_sock.h>
|
||||||
#include <haproxy/stats.h>
|
#include <haproxy/stats.h>
|
||||||
@ -60,7 +61,6 @@
|
|||||||
#include <haproxy/fd.h>
|
#include <haproxy/fd.h>
|
||||||
#include <haproxy/freq_ctr.h>
|
#include <haproxy/freq_ctr.h>
|
||||||
#include <haproxy/pipe.h>
|
#include <haproxy/pipe.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
#include <haproxy/net_helper.h>
|
#include <haproxy/net_helper.h>
|
||||||
#include <haproxy/peers.h>
|
#include <haproxy/peers.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/stats-t.h>
|
#include <haproxy/stats-t.h>
|
||||||
#include <haproxy/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
@ -33,10 +34,10 @@
|
|||||||
|
|
||||||
#include <import/ebmbtree.h>
|
#include <import/ebmbtree.h>
|
||||||
#include <import/ebsttree.h>
|
#include <import/ebsttree.h>
|
||||||
|
#include <import/ebistree.h>
|
||||||
|
|
||||||
#include <haproxy/arg.h>
|
#include <haproxy/arg.h>
|
||||||
#include <haproxy/proto_tcp.h>
|
#include <haproxy/proto_tcp.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <haproxy/stick_table.h>
|
#include <haproxy/stick_table.h>
|
||||||
|
@ -14,6 +14,8 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
#include <import/ebistree.h>
|
||||||
|
|
||||||
#include <haproxy/acl.h>
|
#include <haproxy/acl.h>
|
||||||
#include <haproxy/action.h>
|
#include <haproxy/action.h>
|
||||||
#include <haproxy/applet.h>
|
#include <haproxy/applet.h>
|
||||||
@ -38,6 +40,7 @@
|
|||||||
#include <haproxy/htx.h>
|
#include <haproxy/htx.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
#include <haproxy/pool.h>
|
#include <haproxy/pool.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/session.h>
|
#include <haproxy/session.h>
|
||||||
#include <haproxy/stats-t.h>
|
#include <haproxy/stats-t.h>
|
||||||
#include <haproxy/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
@ -52,7 +55,6 @@
|
|||||||
#include <haproxy/freq_ctr.h>
|
#include <haproxy/freq_ctr.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <haproxy/pipe.h>
|
#include <haproxy/pipe.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/queue.h>
|
#include <proto/queue.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <haproxy/stick_table.h>
|
#include <haproxy/stick_table.h>
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include <haproxy/connection.h>
|
#include <haproxy/connection.h>
|
||||||
#include <haproxy/dynbuf.h>
|
#include <haproxy/dynbuf.h>
|
||||||
#include <haproxy/http_htx.h>
|
#include <haproxy/http_htx.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
#include <haproxy/ticks.h>
|
#include <haproxy/ticks.h>
|
||||||
@ -32,7 +33,6 @@
|
|||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
|
|
||||||
#include <haproxy/pipe.h>
|
#include <haproxy/pipe.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
|
|
||||||
#include <haproxy/pipe-t.h>
|
#include <haproxy/pipe-t.h>
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
#include <haproxy/fd.h>
|
#include <haproxy/fd.h>
|
||||||
#include <haproxy/freq_ctr.h>
|
#include <haproxy/freq_ctr.h>
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
|
|
||||||
DECLARE_POOL(pool_head_task, "task", sizeof(struct task));
|
DECLARE_POOL(pool_head_task, "task", sizeof(struct task));
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
#include <haproxy/global.h>
|
#include <haproxy/global.h>
|
||||||
#include <haproxy/list.h>
|
#include <haproxy/list.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
|
#include <haproxy/proxy.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <haproxy/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/tcp_rules.h>
|
#include <haproxy/tcp_rules.h>
|
||||||
@ -28,7 +29,6 @@
|
|||||||
|
|
||||||
#include <haproxy/arg-t.h>
|
#include <haproxy/arg-t.h>
|
||||||
|
|
||||||
#include <proto/proxy.h>
|
|
||||||
#include <haproxy/stick_table.h>
|
#include <haproxy/stick_table.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user