mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-25 10:42:14 -04:00
MINOR: ssl_sock: remove unneeded check on QMux flags
A recent patch has introduced <init_xprt> mux_proto_list member. This allows to activate QMux on SSL handshake completion without explicit "proto qmux" setting. Thanks to this change, on SSL handshake completion it is not necessary anymore to check for CO_FL_QMUX_* flags.
This commit is contained in:
parent
413f6f9a1f
commit
e98595e4e5
1 changed files with 1 additions and 2 deletions
|
|
@ -6973,8 +6973,7 @@ struct task *ssl_sock_io_cb(struct task *t, void *context, unsigned int state)
|
|||
mux = !conn_is_back(conn) ?
|
||||
conn_select_mux_fe(conn) : conn_select_mux_be(conn);
|
||||
|
||||
if (ctx->conn->flags & (CO_FL_QMUX_RECV|CO_FL_QMUX_SEND) ||
|
||||
mux->init_xprt == XPRT_QMUX) {
|
||||
if (mux->init_xprt == XPRT_QMUX) {
|
||||
const struct xprt_ops *ops = xprt_get(XPRT_QMUX);
|
||||
void *xprt_ctx_hs = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue