Browse Source

[core] remove redundant check for allow_http11

(conf.allow_http11 is handled in http_response_prepare())
personal/stbuehler/ci-build
Glenn Strauss 3 years ago
parent
commit
4e6e787a0d
  1. 2
      src/connections.c

2
src/connections.c

@ -800,8 +800,6 @@ static void connection_read_header(server *srv, connection *con) {
if (NULL != save) buffer_free(save);
buffer_reset(con->request.request);
if (!con->conf.allow_http11) con->request.http_version = HTTP_VERSION_1_0;
connection_set_state(srv, con, CON_STATE_REQUEST_END);
}

Loading…
Cancel
Save