comparison src/http/ngx_http.c @ 604:611ebd77621d NGINX_0_8_54

nginx 0.8.54 *) Bugfix: if there was a single server for given IPv6 address:port pair, then captures in regular expressions in a "server_name" directive did not work. *) Bugfix: a segmentation fault might occur in a worker process, if the "auth_basic" directive was used. Thanks to Michail Laletin. *) Bugfix: compatibility with ngx_http_eval_module; the bug had appeared in 0.8.42.
author Igor Sysoev <http://sysoev.ru>
date Tue, 14 Dec 2010 00:00:00 +0300
parents 5dc296c4372a
children
comparison
equal deleted inserted replaced
603:94ea26a3b3aa 604:611ebd77621d
1868 #endif 1868 #endif
1869 1869
1870 if (addr[i].hash.buckets == NULL 1870 if (addr[i].hash.buckets == NULL
1871 && (addr[i].wc_head == NULL 1871 && (addr[i].wc_head == NULL
1872 || addr[i].wc_head->hash.buckets == NULL) 1872 || addr[i].wc_head->hash.buckets == NULL)
1873 && (addr[i].wc_head == NULL 1873 && (addr[i].wc_tail == NULL
1874 || addr[i].wc_head->hash.buckets == NULL)) 1874 || addr[i].wc_tail->hash.buckets == NULL)
1875 #if (NGX_PCRE)
1876 && addr[i].nregex == 0
1877 #endif
1878 )
1875 { 1879 {
1876 continue; 1880 continue;
1877 } 1881 }
1878 1882
1879 vn = ngx_palloc(cf->pool, sizeof(ngx_http_virtual_names_t)); 1883 vn = ngx_palloc(cf->pool, sizeof(ngx_http_virtual_names_t));