Skip to content

Commit

Permalink
Fixes after review by @tititiou36
Browse files Browse the repository at this point in the history
  • Loading branch information
icing committed Aug 28, 2023
1 parent 2d619de commit 51c6dbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/http2/h2_c2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions modules/http2/h2_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 51c6dbe

Please sign in to comment.