Welcome! Log In Create A New Profile

Advanced

[nginx] Removed extraneous check while processing request line.

June 07, 2018 03:04PM
details: http://hg.nginx.org/nginx/rev/21ad2af3262c
branches:
changeset: 7294:21ad2af3262c
user: Ruslan Ermilov <ru@nginx.com>
date: Thu Jun 07 19:53:43 2018 +0300
description:
Removed extraneous check while processing request line.

diffstat:

src/http/ngx_http_request.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d588987701f4 -r 21ad2af3262c src/http/ngx_http_request.c
--- a/src/http/ngx_http_request.c Thu Jun 07 11:47:10 2018 +0300
+++ b/src/http/ngx_http_request.c Thu Jun 07 19:53:43 2018 +0300
@@ -987,7 +987,7 @@ ngx_http_process_request_line(ngx_event_
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;
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Removed extraneous check while processing request line.

ru@nginx.com 699 June 07, 2018 03:04PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 310
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready