mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
REORG: include: move stream_interface.h to haproxy/stream_interface{,-t}.h
Almost no changes, removed stdlib and added buf-t and connection-t to the types to avoid a warning.
This commit is contained in:
parent
209108dbbd
commit
5e539c9b8d
@ -5,7 +5,7 @@
|
|||||||
#include <haproxy/connection-t.h>
|
#include <haproxy/connection-t.h>
|
||||||
#include <types/http_ana.h>
|
#include <types/http_ana.h>
|
||||||
#include <types/stream.h>
|
#include <types/stream.h>
|
||||||
#include <types/stream_interface.h>
|
#include <haproxy/stream_interface-t.h>
|
||||||
#include <haproxy/task-t.h>
|
#include <haproxy/task-t.h>
|
||||||
|
|
||||||
// 1 bit per flag, no hole permitted here
|
// 1 bit per flag, no hole permitted here
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#include <haproxy/ssl_sock.h>
|
#include <haproxy/ssl_sock.h>
|
||||||
#include <haproxy/stats.h>
|
#include <haproxy/stats.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
|
|
||||||
/* Prometheus exporter applet states (appctx->st0) */
|
/* Prometheus exporter applet states (appctx->st0) */
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
#include <types/proxy.h>
|
#include <types/proxy.h>
|
||||||
#include <types/server.h>
|
#include <types/server.h>
|
||||||
#include <types/stream.h>
|
#include <types/stream.h>
|
||||||
#include <types/stream_interface.h>
|
#include <haproxy/stream_interface-t.h>
|
||||||
|
|
||||||
static inline enum obj_type obj_type(const enum obj_type *t)
|
static inline enum obj_type obj_type(const enum obj_type *t)
|
||||||
{
|
{
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
|
|
||||||
#include <haproxy/applet-t.h>
|
#include <haproxy/applet-t.h>
|
||||||
#include <haproxy/api.h>
|
#include <haproxy/api.h>
|
||||||
|
#include <haproxy/stream_interface-t.h>
|
||||||
#include <haproxy/stats-t.h>
|
#include <haproxy/stats-t.h>
|
||||||
#include <haproxy/tools-t.h>
|
#include <haproxy/tools-t.h>
|
||||||
#include <types/stream_interface.h>
|
|
||||||
|
|
||||||
|
|
||||||
/* These two structs contains all field names and descriptions according to
|
/* These two structs contains all field names and descriptions according to
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* include/types/stream_interface.h
|
* include/haproxy/stream_interface-t.h
|
||||||
* This file describes the stream_interface struct and associated constants.
|
* This file describes the stream_interface struct and associated constants.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2000-2014 Willy Tarreau - w@1wt.eu
|
* Copyright (C) 2000-2014 Willy Tarreau - w@1wt.eu
|
||||||
@ -19,10 +19,12 @@
|
|||||||
* 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_STREAM_INTERFACE_H
|
#ifndef _HAPROXY_STREAM_INTERFACE_T_H
|
||||||
#define _TYPES_STREAM_INTERFACE_H
|
#define _HAPROXY_STREAM_INTERFACE_T_H
|
||||||
|
|
||||||
#include <haproxy/api-t.h>
|
#include <haproxy/api-t.h>
|
||||||
|
#include <haproxy/buf-t.h>
|
||||||
|
#include <haproxy/connection-t.h>
|
||||||
#include <haproxy/obj_type-t.h>
|
#include <haproxy/obj_type-t.h>
|
||||||
|
|
||||||
/* A stream interface must have its own errors independently of the buffer's,
|
/* A stream interface must have its own errors independently of the buffer's,
|
||||||
@ -142,7 +144,7 @@ struct si_ops {
|
|||||||
void (*shutw)(struct stream_interface *); /* shut write function, may not be null */
|
void (*shutw)(struct stream_interface *); /* shut write function, may not be null */
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* _TYPES_STREAM_INTERFACE_H */
|
#endif /* _HAPROXY_STREAM_INTERFACE_T_H */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local variables:
|
* Local variables:
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* include/proto/stream_interface.h
|
* include/haproxy/stream_interface.h
|
||||||
* This file contains stream_interface function prototypes
|
* This file contains stream_interface function prototypes
|
||||||
*
|
*
|
||||||
* Copyright (C) 2000-2014 Willy Tarreau - w@1wt.eu
|
* Copyright (C) 2000-2014 Willy Tarreau - w@1wt.eu
|
||||||
@ -19,17 +19,15 @@
|
|||||||
* 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_STREAM_INTERFACE_H
|
#ifndef _HAPROXY_STREAM_INTERFACE_H
|
||||||
#define _PROTO_STREAM_INTERFACE_H
|
#define _HAPROXY_STREAM_INTERFACE_H
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#include <haproxy/applet.h>
|
#include <haproxy/applet.h>
|
||||||
#include <haproxy/api.h>
|
#include <haproxy/api.h>
|
||||||
#include <haproxy/connection.h>
|
#include <haproxy/connection.h>
|
||||||
#include <types/stream.h>
|
#include <haproxy/stream_interface-t.h>
|
||||||
#include <types/stream_interface.h>
|
|
||||||
#include <proto/channel.h>
|
#include <proto/channel.h>
|
||||||
|
#include <types/stream.h>
|
||||||
|
|
||||||
|
|
||||||
extern struct si_ops si_embedded_ops;
|
extern struct si_ops si_embedded_ops;
|
||||||
@ -567,7 +565,7 @@ static inline const char *si_state_str(int state)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* _PROTO_STREAM_INTERFACE_H */
|
#endif /* _HAPROXY_STREAM_INTERFACE_H */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local variables:
|
* Local variables:
|
@ -32,12 +32,12 @@
|
|||||||
#include <haproxy/dynbuf.h>
|
#include <haproxy/dynbuf.h>
|
||||||
#include <haproxy/global.h>
|
#include <haproxy/global.h>
|
||||||
#include <haproxy/htx.h>
|
#include <haproxy/htx.h>
|
||||||
|
#include <haproxy/stream_interface-t.h>
|
||||||
#include <haproxy/ticks.h>
|
#include <haproxy/ticks.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
|
|
||||||
#include <types/channel.h>
|
#include <types/channel.h>
|
||||||
#include <types/stream.h>
|
#include <types/stream.h>
|
||||||
#include <types/stream_interface.h>
|
|
||||||
|
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
#include <haproxy/list-t.h>
|
#include <haproxy/list-t.h>
|
||||||
#include <haproxy/obj_type-t.h>
|
#include <haproxy/obj_type-t.h>
|
||||||
#include <haproxy/session-t.h>
|
#include <haproxy/session-t.h>
|
||||||
|
#include <haproxy/stream_interface-t.h>
|
||||||
#include <haproxy/vars-t.h>
|
#include <haproxy/vars-t.h>
|
||||||
|
|
||||||
#include <types/channel.h>
|
#include <types/channel.h>
|
||||||
@ -42,7 +43,6 @@
|
|||||||
#include <types/proxy.h>
|
#include <types/proxy.h>
|
||||||
#include <types/queue.h>
|
#include <types/queue.h>
|
||||||
#include <types/server.h>
|
#include <types/server.h>
|
||||||
#include <types/stream_interface.h>
|
|
||||||
#include <haproxy/task-t.h>
|
#include <haproxy/task-t.h>
|
||||||
#include <haproxy/stick_table-t.h>
|
#include <haproxy/stick_table-t.h>
|
||||||
|
|
||||||
|
@ -13,12 +13,12 @@
|
|||||||
#include <haproxy/api.h>
|
#include <haproxy/api.h>
|
||||||
#include <common/cfgparse.h>
|
#include <common/cfgparse.h>
|
||||||
#include <haproxy/cli.h>
|
#include <haproxy/cli.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
#include <haproxy/thread-t.h>
|
#include <haproxy/thread-t.h>
|
||||||
#include <haproxy/activity-t.h>
|
#include <haproxy/activity-t.h>
|
||||||
#include <proto/channel.h>
|
#include <proto/channel.h>
|
||||||
#include <haproxy/freq_ctr.h>
|
#include <haproxy/freq_ctr.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
|
|
||||||
/* bit field of profiling options. Beware, may be modified at runtime! */
|
/* bit field of profiling options. Beware, may be modified at runtime! */
|
||||||
|
@ -16,10 +16,10 @@
|
|||||||
#include <haproxy/applet.h>
|
#include <haproxy/applet.h>
|
||||||
#include <haproxy/api.h>
|
#include <haproxy/api.h>
|
||||||
#include <haproxy/list.h>
|
#include <haproxy/list.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <proto/channel.h>
|
#include <proto/channel.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
unsigned int nb_applets = 0;
|
unsigned int nb_applets = 0;
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
#include <haproxy/payload.h>
|
#include <haproxy/payload.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/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/ticks.h>
|
#include <haproxy/ticks.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
@ -55,7 +56,6 @@
|
|||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
#define TRACE_SOURCE &trace_strm
|
#define TRACE_SOURCE &trace_strm
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
#include <haproxy/http_htx.h>
|
#include <haproxy/http_htx.h>
|
||||||
#include <haproxy/http_rules.h>
|
#include <haproxy/http_rules.h>
|
||||||
#include <haproxy/shctx.h>
|
#include <haproxy/shctx.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <import/eb32tree.h>
|
#include <import/eb32tree.h>
|
||||||
#include <import/sha1.h>
|
#include <import/sha1.h>
|
||||||
|
|
||||||
@ -28,7 +29,6 @@
|
|||||||
#include <proto/http_ana.h>
|
#include <proto/http_ana.h>
|
||||||
#include <proto/log.h>
|
#include <proto/log.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
|
|
||||||
#include <common/cfgparse.h>
|
#include <common/cfgparse.h>
|
||||||
|
@ -49,6 +49,7 @@
|
|||||||
#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>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/vars.h>
|
#include <haproxy/vars.h>
|
||||||
|
|
||||||
@ -64,7 +65,6 @@
|
|||||||
#include <haproxy/protocol.h>
|
#include <haproxy/protocol.h>
|
||||||
#include <proto/proxy.h>
|
#include <proto/proxy.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
#include <proto/log.h>
|
#include <proto/log.h>
|
||||||
#include <haproxy/proto_udp.h>
|
#include <haproxy/proto_udp.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
|
@ -41,6 +41,7 @@
|
|||||||
#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>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
#include <haproxy/ticks.h>
|
#include <haproxy/ticks.h>
|
||||||
@ -62,7 +63,6 @@
|
|||||||
#include <proto/proxy.h>
|
#include <proto/proxy.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
#define PAYLOAD_PATTERN "<<"
|
#define PAYLOAD_PATTERN "<<"
|
||||||
|
|
||||||
|
@ -22,9 +22,9 @@
|
|||||||
|
|
||||||
#include <haproxy/fd.h>
|
#include <haproxy/fd.h>
|
||||||
#include <haproxy/proto_tcp.h>
|
#include <haproxy/proto_tcp.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <haproxy/ssl_sock.h>
|
#include <haproxy/ssl_sock.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
|
|
||||||
|
|
||||||
DECLARE_POOL(pool_head_connection, "connection", sizeof(struct connection));
|
DECLARE_POOL(pool_head_connection, "connection", sizeof(struct connection));
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include <haproxy/cli.h>
|
#include <haproxy/cli.h>
|
||||||
#include <haproxy/debug.h>
|
#include <haproxy/debug.h>
|
||||||
#include <haproxy/hlua.h>
|
#include <haproxy/hlua.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/thread.h>
|
#include <haproxy/thread.h>
|
||||||
#include <import/ist.h>
|
#include <import/ist.h>
|
||||||
@ -33,7 +34,6 @@
|
|||||||
#include <haproxy/global.h>
|
#include <haproxy/global.h>
|
||||||
|
|
||||||
#include <haproxy/fd.h>
|
#include <haproxy/fd.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
/* mask of threads still having to dump, used to respect ordering. Only used
|
/* mask of threads still having to dump, used to respect ordering. Only used
|
||||||
* when USE_THREAD_DUMP is set.
|
* when USE_THREAD_DUMP is set.
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#include <haproxy/http_rules.h>
|
#include <haproxy/http_rules.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/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/tcp_rules.h>
|
#include <haproxy/tcp_rules.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
@ -45,7 +46,6 @@
|
|||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <haproxy/proto_udp.h>
|
#include <haproxy/proto_udp.h>
|
||||||
#include <proto/proxy.h>
|
#include <proto/proxy.h>
|
||||||
#include <proto/stream_interface.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);
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
#include <haproxy/http_htx.h>
|
#include <haproxy/http_htx.h>
|
||||||
#include <haproxy/htx.h>
|
#include <haproxy/htx.h>
|
||||||
#include <haproxy/namespace.h>
|
#include <haproxy/namespace.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
|
|
||||||
#include <types/filters.h>
|
#include <types/filters.h>
|
||||||
@ -27,7 +28,6 @@
|
|||||||
#include <proto/filters.h>
|
#include <proto/filters.h>
|
||||||
#include <proto/http_ana.h>
|
#include <proto/http_ana.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
#define TRACE_SOURCE &trace_strm
|
#define TRACE_SOURCE &trace_strm
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include <haproxy/thread.h>
|
#include <haproxy/thread.h>
|
||||||
#include <haproxy/pool.h>
|
#include <haproxy/pool.h>
|
||||||
#include <haproxy/session.h>
|
#include <haproxy/session.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/tcp_rules.h>
|
#include <haproxy/tcp_rules.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
@ -41,7 +42,6 @@
|
|||||||
#include <proto/proxy.h>
|
#include <proto/proxy.h>
|
||||||
#include <proto/spoe.h>
|
#include <proto/spoe.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
#if defined(DEBUG_SPOE) || defined(DEBUG_FULL)
|
#if defined(DEBUG_SPOE) || defined(DEBUG_FULL)
|
||||||
#define SPOE_PRINTF(x...) fprintf(x)
|
#define SPOE_PRINTF(x...) fprintf(x)
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include <haproxy/chunk.h>
|
#include <haproxy/chunk.h>
|
||||||
#include <haproxy/frontend.h>
|
#include <haproxy/frontend.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
@ -41,7 +42,6 @@
|
|||||||
#include <proto/http_ana.h>
|
#include <proto/http_ana.h>
|
||||||
#include <proto/proxy.h>
|
#include <proto/proxy.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.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
|
||||||
* value in case of a critical failure which must cause the listener to be
|
* value in case of a critical failure which must cause the listener to be
|
||||||
|
@ -44,6 +44,7 @@
|
|||||||
#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>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/tcp_rules.h>
|
#include <haproxy/tcp_rules.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
@ -57,7 +58,6 @@
|
|||||||
#include <proto/http_ana.h>
|
#include <proto/http_ana.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
/* Lua uses longjmp to perform yield or throwing errors. This
|
/* Lua uses longjmp to perform yield or throwing errors. This
|
||||||
* macro is used only for identifying the function that can
|
* macro is used only for identifying the function that can
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#include <haproxy/pool.h>
|
#include <haproxy/pool.h>
|
||||||
#include <haproxy/regex.h>
|
#include <haproxy/regex.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
#include <haproxy/uri_auth-t.h>
|
#include <haproxy/uri_auth-t.h>
|
||||||
#include <haproxy/version.h>
|
#include <haproxy/version.h>
|
||||||
@ -38,7 +39,6 @@
|
|||||||
#include <haproxy/arg.h>
|
#include <haproxy/arg.h>
|
||||||
#include <proto/log.h>
|
#include <proto/log.h>
|
||||||
#include <proto/http_ana.h>
|
#include <proto/http_ana.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
/* Release memory allocated by most of HTTP actions. Concretly, it releases
|
/* Release memory allocated by most of HTTP actions. Concretly, it releases
|
||||||
* <arg.http>.
|
* <arg.http>.
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#include <haproxy/net_helper.h>
|
#include <haproxy/net_helper.h>
|
||||||
#include <haproxy/regex.h>
|
#include <haproxy/regex.h>
|
||||||
#include <haproxy/stats.h>
|
#include <haproxy/stats.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/uri_auth-t.h>
|
#include <haproxy/uri_auth-t.h>
|
||||||
#include <haproxy/vars.h>
|
#include <haproxy/vars.h>
|
||||||
|
|
||||||
@ -34,7 +35,6 @@
|
|||||||
#include <proto/proxy.h>
|
#include <proto/proxy.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
#define TRACE_SOURCE &trace_strm
|
#define TRACE_SOURCE &trace_strm
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include <haproxy/frontend.h>
|
#include <haproxy/frontend.h>
|
||||||
#include <haproxy/http.h>
|
#include <haproxy/http.h>
|
||||||
#include <haproxy/ssl_sock.h>
|
#include <haproxy/ssl_sock.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
#include <haproxy/version.h>
|
#include <haproxy/version.h>
|
||||||
@ -43,7 +44,6 @@
|
|||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <haproxy/sink.h>
|
#include <haproxy/sink.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
struct log_fmt {
|
struct log_fmt {
|
||||||
char *name;
|
char *name;
|
||||||
|
@ -19,11 +19,11 @@
|
|||||||
#include <haproxy/pattern.h>
|
#include <haproxy/pattern.h>
|
||||||
#include <haproxy/regex.h>
|
#include <haproxy/regex.h>
|
||||||
#include <haproxy/stats-t.h>
|
#include <haproxy/stats-t.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
|
|
||||||
#include <haproxy/arg.h>
|
#include <haproxy/arg.h>
|
||||||
#include <proto/log.h>
|
#include <proto/log.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
|
|
||||||
/* Parse an IPv4 or IPv6 address and store it into the sample.
|
/* Parse an IPv4 or IPv6 address and store it into the sample.
|
||||||
|
@ -24,13 +24,13 @@
|
|||||||
#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 <types/proxy.h>
|
#include <types/proxy.h>
|
||||||
|
|
||||||
#include <proto/fcgi-app.h>
|
#include <proto/fcgi-app.h>
|
||||||
#include <proto/log.h>
|
#include <proto/log.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
#include <haproxy/trace.h>
|
#include <haproxy/trace.h>
|
||||||
|
|
||||||
/* FCGI Connection flags (32 bits) */
|
/* FCGI Connection flags (32 bits) */
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include <proto/log.h>
|
#include <proto/log.h>
|
||||||
#include <haproxy/session-t.h>
|
#include <haproxy/session-t.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/trace.h>
|
#include <haproxy/trace.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -23,9 +23,9 @@
|
|||||||
#include <haproxy/htx.h>
|
#include <haproxy/htx.h>
|
||||||
#include <haproxy/net_helper.h>
|
#include <haproxy/net_helper.h>
|
||||||
#include <haproxy/session-t.h>
|
#include <haproxy/session-t.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/trace.h>
|
#include <haproxy/trace.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
#include <import/eb32tree.h>
|
#include <import/eb32tree.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include <haproxy/mworker.h>
|
#include <haproxy/mworker.h>
|
||||||
#include <haproxy/peers.h>
|
#include <haproxy/peers.h>
|
||||||
#include <haproxy/signal.h>
|
#include <haproxy/signal.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/version.h>
|
#include <haproxy/version.h>
|
||||||
|
|
||||||
#include <haproxy/global.h>
|
#include <haproxy/global.h>
|
||||||
@ -33,7 +34,6 @@
|
|||||||
#include <proto/log.h>
|
#include <proto/log.h>
|
||||||
#include <proto/proxy.h>
|
#include <proto/proxy.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
|
|
||||||
#if defined(USE_SYSTEMD)
|
#if defined(USE_SYSTEMD)
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
#include <haproxy/session-t.h>
|
#include <haproxy/session-t.h>
|
||||||
#include <haproxy/signal.h>
|
#include <haproxy/signal.h>
|
||||||
#include <haproxy/stats-t.h>
|
#include <haproxy/stats-t.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
#include <haproxy/thread.h>
|
#include <haproxy/thread.h>
|
||||||
@ -42,7 +43,6 @@
|
|||||||
#include <proto/proxy.h>
|
#include <proto/proxy.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <haproxy/stick_table.h>
|
#include <haproxy/stick_table.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************/
|
/*******************************/
|
||||||
|
@ -21,13 +21,13 @@
|
|||||||
#include <haproxy/pool.h>
|
#include <haproxy/pool.h>
|
||||||
#include <haproxy/list.h>
|
#include <haproxy/list.h>
|
||||||
#include <haproxy/stats-t.h>
|
#include <haproxy/stats-t.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
|
|
||||||
#include <haproxy/activity-t.h>
|
#include <haproxy/activity-t.h>
|
||||||
|
|
||||||
#include <proto/channel.h>
|
#include <proto/channel.h>
|
||||||
#include <proto/log.h>
|
#include <proto/log.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
#ifdef CONFIG_HAP_LOCAL_POOLS
|
#ifdef CONFIG_HAP_LOCAL_POOLS
|
||||||
/* These are the most common pools, expected to be initialized first. These
|
/* These are the most common pools, expected to be initialized first. These
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include <haproxy/peers.h>
|
#include <haproxy/peers.h>
|
||||||
#include <haproxy/pool.h>
|
#include <haproxy/pool.h>
|
||||||
#include <haproxy/stats-t.h>
|
#include <haproxy/stats-t.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
|
|
||||||
@ -46,7 +47,6 @@
|
|||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <haproxy/signal.h>
|
#include <haproxy/signal.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
|
|
||||||
int listeners; /* # of proxy listeners, set by cfgparse */
|
int listeners; /* # of proxy listeners, set by cfgparse */
|
||||||
|
@ -73,6 +73,7 @@
|
|||||||
#include <haproxy/http_rules.h>
|
#include <haproxy/http_rules.h>
|
||||||
#include <haproxy/pool.h>
|
#include <haproxy/pool.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/tcp_rules.h>
|
#include <haproxy/tcp_rules.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
@ -83,7 +84,6 @@
|
|||||||
#include <proto/queue.h>
|
#include <proto/queue.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
|
|
||||||
#define NOW_OFFSET_BOUNDARY() ((now_ms - (TIMER_LOOK_BACK >> 12)) & 0xfffff)
|
#define NOW_OFFSET_BOUNDARY() ((now_ms - (TIMER_LOOK_BACK >> 12)) & 0xfffff)
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#include <haproxy/buf.h>
|
#include <haproxy/buf.h>
|
||||||
#include <haproxy/connection.h>
|
#include <haproxy/connection.h>
|
||||||
#include <haproxy/global.h>
|
#include <haproxy/global.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
#include <haproxy/ticks.h>
|
#include <haproxy/ticks.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
@ -34,7 +35,6 @@
|
|||||||
#include <haproxy/freq_ctr.h>
|
#include <haproxy/freq_ctr.h>
|
||||||
#include <proto/log.h>
|
#include <proto/log.h>
|
||||||
#include <haproxy/pipe.h>
|
#include <haproxy/pipe.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
|
|
||||||
#if defined(USE_LINUX_SPLICE)
|
#if defined(USE_LINUX_SPLICE)
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include <haproxy/cli.h>
|
#include <haproxy/cli.h>
|
||||||
#include <haproxy/thread.h>
|
#include <haproxy/thread.h>
|
||||||
#include <haproxy/ring.h>
|
#include <haproxy/ring.h>
|
||||||
#include <proto/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
|
|
||||||
/* Creates and returns a ring buffer of size <size> bytes. Returns NULL on
|
/* Creates and returns a ring buffer of size <size> bytes. Returns NULL on
|
||||||
* allocation failure.
|
* allocation failure.
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#include <haproxy/namespace.h>
|
#include <haproxy/namespace.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/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
|
|
||||||
@ -37,7 +38,6 @@
|
|||||||
#include <proto/queue.h>
|
#include <proto/queue.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
#include <netinet/tcp.h>
|
#include <netinet/tcp.h>
|
||||||
|
|
||||||
#include <import/ebsttree.h>
|
#include <import/ebsttree.h>
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#include <haproxy/ring.h>
|
#include <haproxy/ring.h>
|
||||||
#include <haproxy/signal.h>
|
#include <haproxy/signal.h>
|
||||||
#include <haproxy/sink.h>
|
#include <haproxy/sink.h>
|
||||||
#include <proto/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
|
|
||||||
struct list sink_list = LIST_HEAD_INIT(sink_list);
|
struct list sink_list = LIST_HEAD_INIT(sink_list);
|
||||||
|
|
||||||
|
@ -27,12 +27,12 @@
|
|||||||
#include <haproxy/ssl_ckch.h>
|
#include <haproxy/ssl_ckch.h>
|
||||||
#include <haproxy/ssl_sock.h>
|
#include <haproxy/ssl_sock.h>
|
||||||
#include <haproxy/ssl_utils.h>
|
#include <haproxy/ssl_utils.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
|
|
||||||
#include <import/ebsttree.h>
|
#include <import/ebsttree.h>
|
||||||
|
|
||||||
#include <proto/channel.h>
|
#include <proto/channel.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
/* Uncommitted CKCH transaction */
|
/* Uncommitted CKCH transaction */
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#include <haproxy/ssl_ckch.h>
|
#include <haproxy/ssl_ckch.h>
|
||||||
#include <haproxy/ssl_crtlist.h>
|
#include <haproxy/ssl_crtlist.h>
|
||||||
#include <haproxy/ssl_sock.h>
|
#include <haproxy/ssl_sock.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
@ -27,7 +28,6 @@
|
|||||||
#include <import/ebsttree.h>
|
#include <import/ebsttree.h>
|
||||||
|
|
||||||
#include <proto/channel.h>
|
#include <proto/channel.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
/* release ssl bind conf */
|
/* release ssl bind conf */
|
||||||
void ssl_sock_free_ssl_conf(struct ssl_bind_conf *conf)
|
void ssl_sock_free_ssl_conf(struct ssl_bind_conf *conf)
|
||||||
|
@ -60,6 +60,7 @@
|
|||||||
#include <haproxy/ssl_sock.h>
|
#include <haproxy/ssl_sock.h>
|
||||||
#include <haproxy/ssl_utils.h>
|
#include <haproxy/ssl_utils.h>
|
||||||
#include <haproxy/stats-t.h>
|
#include <haproxy/stats-t.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
#include <haproxy/ticks.h>
|
#include <haproxy/ticks.h>
|
||||||
@ -77,7 +78,6 @@
|
|||||||
#include <haproxy/proto_tcp.h>
|
#include <haproxy/proto_tcp.h>
|
||||||
#include <proto/http_ana.h>
|
#include <proto/http_ana.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
#include <proto/log.h>
|
#include <proto/log.h>
|
||||||
#include <proto/proxy.h>
|
#include <proto/proxy.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
#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>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
#include <haproxy/ticks.h>
|
#include <haproxy/ticks.h>
|
||||||
@ -62,7 +63,6 @@
|
|||||||
#include <proto/proxy.h>
|
#include <proto/proxy.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/server.h>
|
#include <proto/server.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
/* status codes available for the stats admin page (strictly 4 chars length) */
|
/* status codes available for the stats admin page (strictly 4 chars length) */
|
||||||
const char *stat_status_codes[STAT_STATUS_SIZE] = {
|
const char *stat_status_codes[STAT_STATUS_SIZE] = {
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include <haproxy/net_helper.h>
|
#include <haproxy/net_helper.h>
|
||||||
#include <haproxy/peers.h>
|
#include <haproxy/peers.h>
|
||||||
#include <haproxy/stats-t.h>
|
#include <haproxy/stats-t.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/tcp_rules.h>
|
#include <haproxy/tcp_rules.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
@ -39,7 +40,6 @@
|
|||||||
#include <proto/proxy.h>
|
#include <proto/proxy.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
#include <haproxy/stick_table.h>
|
#include <haproxy/stick_table.h>
|
||||||
|
|
||||||
/* structure used to return a table key built from a sample */
|
/* structure used to return a table key built from a sample */
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
#include <haproxy/pool.h>
|
#include <haproxy/pool.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/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/tcp_rules.h>
|
#include <haproxy/tcp_rules.h>
|
||||||
#include <haproxy/vars.h>
|
#include <haproxy/vars.h>
|
||||||
@ -57,7 +58,6 @@
|
|||||||
#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>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
DECLARE_POOL(pool_head_stream, "stream", sizeof(struct stream));
|
DECLARE_POOL(pool_head_stream, "stream", sizeof(struct stream));
|
||||||
DECLARE_POOL(pool_head_uniqueid, "uniqueid", UNIQUEID_LEN);
|
DECLARE_POOL(pool_head_uniqueid, "uniqueid", UNIQUEID_LEN);
|
||||||
|
@ -24,6 +24,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/stream_interface.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
#include <haproxy/ticks.h>
|
#include <haproxy/ticks.h>
|
||||||
#include <haproxy/time.h>
|
#include <haproxy/time.h>
|
||||||
@ -33,7 +34,6 @@
|
|||||||
#include <haproxy/pipe.h>
|
#include <haproxy/pipe.h>
|
||||||
#include <proto/proxy.h>
|
#include <proto/proxy.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
#include <haproxy/pipe-t.h>
|
#include <haproxy/pipe-t.h>
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
#include <haproxy/global.h>
|
#include <haproxy/global.h>
|
||||||
#include <haproxy/list.h>
|
#include <haproxy/list.h>
|
||||||
#include <haproxy/sample.h>
|
#include <haproxy/sample.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/tcp_rules.h>
|
#include <haproxy/tcp_rules.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
#include <haproxy/ticks.h>
|
#include <haproxy/ticks.h>
|
||||||
@ -30,7 +31,6 @@
|
|||||||
#include <proto/proxy.h>
|
#include <proto/proxy.h>
|
||||||
#include <haproxy/stick_table.h>
|
#include <haproxy/stick_table.h>
|
||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
#define TRACE_SOURCE &trace_strm
|
#define TRACE_SOURCE &trace_strm
|
||||||
|
|
||||||
|
@ -47,10 +47,10 @@
|
|||||||
#include <haproxy/listener.h>
|
#include <haproxy/listener.h>
|
||||||
#include <haproxy/namespace.h>
|
#include <haproxy/namespace.h>
|
||||||
#include <haproxy/ssl_sock.h>
|
#include <haproxy/ssl_sock.h>
|
||||||
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/task.h>
|
#include <haproxy/task.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
#include <haproxy/proto_udp.h>
|
#include <haproxy/proto_udp.h>
|
||||||
#include <proto/stream_interface.h>
|
|
||||||
|
|
||||||
/* This macro returns false if the test __x is false. Many
|
/* This macro returns false if the test __x is false. Many
|
||||||
* of the following parsing function must be abort the processing
|
* of the following parsing function must be abort the processing
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <haproxy/connection.h>
|
#include <haproxy/connection.h>
|
||||||
#include <proto/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
|
|
||||||
struct xprt_handshake_ctx {
|
struct xprt_handshake_ctx {
|
||||||
struct connection *conn;
|
struct connection *conn;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user