fix segfault in "proxy_pass http://unix:...", the bug appeared in nginx-0.3.47

This commit is contained in:
Igor Sysoev 2006-09-24 07:35:56 +00:00
parent 26e95cf402
commit 66a49717d2

View File

@ -239,6 +239,7 @@ ngx_parse_url(ngx_conf_t *cf, ngx_url_t *u)
#if (NGX_HAVE_UNIX_DOMAIN)
u->type = NGX_PARSE_URL_UNIX;
u->uri = u->url;
p += 5;
len -= 5;