comparison src/http/ngx_http_request.c @ 7294:21ad2af3262c

Removed extraneous check while processing request line.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 07 Jun 2018 19:53:43 +0300
parents 7f955d3b9a0d
children 89430899c72a
comparison
equal deleted inserted replaced
7293:d588987701f4 7294:21ad2af3262c
985 985
986 if (ngx_http_process_request_uri(r) != NGX_OK) { 986 if (ngx_http_process_request_uri(r) != NGX_OK) {
987 return; 987 return;
988 } 988 }
989 989
990 if (r->host_start && r->host_end) { 990 if (r->host_end) {
991 991
992 host.len = r->host_end - r->host_start; 992 host.len = r->host_end - r->host_start;
993 host.data = r->host_start; 993 host.data = r->host_start;
994 994
995 rc = ngx_http_validate_host(&host, r->pool, 0); 995 rc = ngx_http_validate_host(&host, r->pool, 0);