[core] remove redundant check for allow_http11

(conf.allow_http11 is handled in http_response_prepare())
personal/stbuehler/ci-build
Glenn Strauss 2019-02-24 01:11:40 -05:00
parent 800e9b7349
commit 4e6e787a0d
1 changed files with 0 additions and 2 deletions

View File

@ -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);
}