diff --git a/src/mux_h2.c b/src/mux_h2.c index c89d184a4..a04fa8f90 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -2935,8 +2935,7 @@ static int h2c_handle_settings(struct h2c *h2c) } break; case H2_SETTINGS_ENABLE_CONNECT_PROTOCOL: - /* setting only considered if rfc8441 not disabled */ - if (arg == 1 && !(global.tune.options & GTUNE_DISABLE_H2_WEBSOCKET)) + if (arg == 1) h2c->flags |= H2_CF_RCVD_RFC8441; break; }