diff options
author | Ruslan Ermilov <ru@nginx.com> | 2018-06-07 19:53:43 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2018-06-07 19:53:43 +0300 |
commit | 70b6e7a299e6488c2f59f1768c600921bd08a2d7 (patch) | |
tree | bf54f8835493f65b4426402873c3956483612aee /src | |
parent | 94a2ce426fc36a6c82411a331bb18bf129c6d014 (diff) |
Removed extraneous check while processing request line.
Diffstat (limited to 'src')
-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; |