changeset 711:324967192b8b

fix segfault in "proxy_pass http://unix:...", the bug appeared in nginx-0.3.47
author Igor Sysoev <igor@sysoev.ru>
date Sun, 24 Sep 2006 07:35:56 +0000
parents 6875ee9f93c7
children 2452d89efea9
files src/core/ngx_inet.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/ngx_inet.c	Sat Sep 23 15:55:54 2006 +0000
+++ b/src/core/ngx_inet.c	Sun Sep 24 07:35:56 2006 +0000
@@ -239,6 +239,7 @@
 #if (NGX_HAVE_UNIX_DOMAIN)
 
         u->type = NGX_PARSE_URL_UNIX;
+        u->uri = u->url;
 
         p += 5;
         len -= 5;