mirror of
https://github.com/nginx/nginx.git
synced 2026-08-27 04:07:18 +00: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue