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..
diff --git a/include/haproxy/connection-t.h b/include/haproxy/connection-t.h
index 8579632..9451585 100644
--- a/include/haproxy/connection-t.h
+++ b/include/haproxy/connection-t.h
@@ -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 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.