From 70b6e7a299e6488c2f59f1768c600921bd08a2d7 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Thu, 7 Jun 2018 19:53:43 +0300 Subject: Removed extraneous check while processing request line. --- src/http/ngx_http_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/ngx_http_request.c') diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 47c62d9fd..210994b6f 100644 --- 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_t *rev) 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; -- cgit