Removed extraneous check while processing request line.

This commit is contained in:
Ruslan Ermilov 2018-06-07 19:53:43 +03:00
parent 94a2ce426f
commit 70b6e7a299

View File

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