mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Removed extraneous check while processing request line.
This commit is contained in:
parent
94a2ce426f
commit
70b6e7a299
@ -987,7 +987,7 @@ ngx_http_process_request_line(ngx_event_t *rev)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (r->host_start && r->host_end) {
|
if (r->host_end) {
|
||||||
|
|
||||||
host.len = r->host_end - r->host_start;
|
host.len = r->host_end - r->host_start;
|
||||||
host.data = r->host_start;
|
host.data = r->host_start;
|
||||||
|
Loading…
Reference in New Issue
Block a user