BUILD: connection: stop including listener-t.h

listener-t comes with openssl just due to the SSL_CTX type that is
declred as a typedef in openssl hence cannot be abstracted at this
level. However connection-t.h doen't need all that just to know that
bind_conf is a struct. Let's declare it with other external types
instead..
This commit is contained in:
Willy Tarreau 2021-05-08 20:14:39 +02:00
parent e08f4bf27f
commit 32840b77a5

View File

@ -34,10 +34,10 @@
#include <haproxy/api-t.h>
#include <haproxy/buf-t.h>
#include <haproxy/listener-t.h>
#include <haproxy/obj_type-t.h>
#include <haproxy/port_range-t.h>
#include <haproxy/protocol-t.h>
#include <haproxy/thread-t.h>
/* referenced below */
struct connection;
@ -49,6 +49,7 @@ struct server;
struct session;
struct pipe;
struct quic_conn;
struct bind_conf;
/* Note: subscribing to these events is only valid after the caller has really
* attempted to perform the operation, and failed to proceed or complete.