From 4e6e787a0d2eff16c5acdfddccd7c3df8994ad29 Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Sun, 24 Feb 2019 01:11:40 -0500 Subject: [PATCH] [core] remove redundant check for allow_http11 (conf.allow_http11 is handled in http_response_prepare()) --- src/connections.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/connections.c b/src/connections.c index 40130166..36264e5c 100644 --- a/src/connections.c +++ b/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); } -- 2.11.4.GIT