diff options
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |