From: Ruslan Ermilov Date: Thu, 7 Jun 2018 16:53:43 +0000 (+0300) Subject: Removed extraneous check while processing request line. X-Git-Tag: release-1.15.1~14 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=70b6e7a299e6488c2f59f1768c600921bd08a2d7;p=nginx.git Removed extraneous check while processing request line. --- 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;