{{ message }}
Repository navigation
Commit 879c78c
committed
MINOR: connection/mux_quic: add MUX <init_xprt> field for QMux handshake
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.1 parent 356f1ab commit 879c78c
4 files changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1811 | 1811 | | |
1812 | 1812 | | |
1813 | 1813 | | |
| 1814 | + | |
1814 | 1815 | | |
1815 | 1816 | | |
1816 | 1817 | | |
| |||
2130 | 2131 | | |
2131 | 2132 | | |
2132 | 2133 | | |
2133 | | - | |
2134 | | - | |
2135 | | - | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
2136 | 2141 | | |
2137 | 2142 | | |
2138 | 2143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4813 | 4813 | | |
4814 | 4814 | | |
4815 | 4815 | | |
4816 | | - | |
| 4816 | + | |
| 4817 | + | |
4817 | 4818 | | |
4818 | 4819 | | |

0 commit comments