mirror of
https://github.com/nginx/nginx.git
synced 2025-01-22 14:23:18 -06:00
fix segfault in "proxy_pass http://unix:...", the bug appeared in nginx-0.3.47
This commit is contained in:
parent
26e95cf402
commit
66a49717d2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user