changeset 7294:21ad2af3262c

Removed extraneous check while processing request line.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 07 Jun 2018 19:53:43 +0300
parents d588987701f4
children 89430899c72a
files src/http/ngx_http_request.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -987,7 +987,7 @@ ngx_http_process_request_line(ngx_event_
                 return;
             }
 
-            if (r->host_start && r->host_end) {
+            if (r->host_end) {
 
                 host.len = r->host_end - r->host_start;
                 host.data = r->host_start;