From: Stefan Eissing Date: Mon, 28 Aug 2023 08:33:22 +0000 (+0000) Subject: Fix missing break in config settings, code style X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8595a9c91047ff6f90d92c6b41c7def2fa7e4df8;p=thirdparty%2Fapache%2Fhttpd.git Fix missing break in config settings, code style git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1911961 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http2/h2_c2.c b/modules/http2/h2_c2.c index 3c3c0f5a9f0..13567eb4f79 100644 --- a/modules/http2/h2_c2.c +++ b/modules/http2/h2_c2.c @@ -723,7 +723,7 @@ static apr_status_t c2_process(h2_conn_ctx_t *conn_ctx, conn_rec *c) apr_time_t timeout; apr_status_t rv = APR_SUCCESS; - if(req->protocol && !strcmp("websocket", req->protocol)) { + if (req->protocol && !strcmp("websocket", req->protocol)) { req = h2_ws_rewrite_request(req, c, conn_ctx->beam_in == NULL); if (!req) { rv = APR_EGENERAL; diff --git a/modules/http2/h2_config.c b/modules/http2/h2_config.c index e87b1c82a4a..22653d45d57 100644 --- a/modules/http2/h2_config.c +++ b/modules/http2/h2_config.c @@ -377,6 +377,7 @@ static void h2_srv_config_seti(h2_config *conf, h2_config_var_t var, int val) break; case H2_CONF_PROXY_REQUESTS: H2_CONFIG_SET(conf, proxy_requests, val); + break; case H2_CONF_WEBSOCKETS: H2_CONFIG_SET(conf, h2_websockets, val); break;