commit | 95ead461116278d1f0cfd006526eb1bc1d81d09c | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Thu Nov 23 20:20:23 2006 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Thu Nov 23 20:20:23 2006 +0000 |
tree | cc453e82d6b3003f96a24592ec0eb0df50a48d2f | |
parent | b1ee81d7cdfc656e36c5ac791910b1fa19efe825 [diff] [blame] |
use host part in URL
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index b9022bd..b141000 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c
@@ -260,7 +260,7 @@ case sw_schema_slash_slash: switch (ch) { case '/': - r->host_start = p; + r->host_start = p + 1; state = sw_host; break; default: