MINOR: mux: Add info about the supported side in alpn_mux_list structure
Now, a multiplexer can specify if it can be install on incoming connections
(ALPN_SIDE_FE), on outgoing connections (ALPN_SIDE_BE) or both
(ALPN_SIDE_BOTH). These flags are compatible with proxies' ones.
diff --git a/src/mux_pt.c b/src/mux_pt.c
index d6c1f83..131b070 100644
--- a/src/mux_pt.c
+++ b/src/mux_pt.c
@@ -217,7 +217,7 @@
/* ALPN selection : default mux has empty name */
static struct alpn_mux_list alpn_mux_pt =
- { .token = IST(""), .mode = ALPN_MODE_ANY, .mux = &mux_pt_ops };
+ { .token = IST(""), .mode = ALPN_MODE_ANY, .side = ALPN_SIDE_BOTH, .mux = &mux_pt_ops };
__attribute__((constructor))
static void __mux_pt_init(void)