Mercurial > hg > nginx
diff src/http/ngx_http.c @ 2689:6caf687a831f
backout r2535: virtual names is a property of address:port pair,
but is not a property of server configuration
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 09 Apr 2009 13:56:16 +0000 |
parents | 9bcda0da8d36 |
children | d478379e51ac |
line wrap: on
line diff
--- a/src/http/ngx_http.c Wed Apr 08 19:51:30 2009 +0000 +++ b/src/http/ngx_http.c Thu Apr 09 13:56:16 2009 +0000 @@ -1825,7 +1825,7 @@ return NGX_ERROR; } - addrs[i].conf.core_srv_conf->virtual_names = vn; + addrs[i].conf.virtual_names = vn; vn->names.hash = addr[i].hash; vn->names.wc_head = addr[i].wc_head; @@ -1882,7 +1882,7 @@ return NGX_ERROR; } - addrs6[i].conf.core_srv_conf->virtual_names = vn; + addrs6[i].conf.virtual_names = vn; vn->names.hash = addr[i].hash; vn->names.wc_head = addr[i].wc_head;