mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-21 09:25:29 -04:00
The first part of this patch defines a new mux_proto_list field named <xprt_init>. This allows to define an extra XPRT layer which should be activated first prior to the MUX creation both on frontend and backend sides. This is immediately used for QMux mux_proto_list to require XPRT_QMUX handshake. With this change, activation of QMux connection flags in session_accept_fd() and connect_server() are adjusted to take into account <init_xprt> field. This approach is much more evolutive than relying on the previous MUX name. Change in connect_server() will also be necessary to support QMux activation on a TCP server with h3 ALPN without explicit "proto qmux". This guarantees that MUX initialization is delayed after QMux handshake. |
||
|---|---|---|
| .. | ||
| haproxy | ||
| import | ||
| make | ||