From 66a49717d22e9bf26a356aff79c541adcffc50bb Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 24 Sep 2006 07:35:56 +0000 Subject: [PATCH] fix segfault in "proxy_pass http://unix:...", the bug appeared in nginx-0.3.47 --- src/core/ngx_inet.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/ngx_inet.c b/src/core/ngx_inet.c index 7b3fef304..53219932e 100644 --- a/src/core/ngx_inet.c +++ b/src/core/ngx_inet.c @@ -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;