Mercurial > hg > nginx-vendor-0-7
comparison src/core/ngx_hash.c @ 400:6ebbca3d5ed7 NGINX_0_7_12
nginx 0.7.12
*) Feature: the "server_name" directive supports empty name "".
*) Feature: the "gzip_disable" directive supports special "msie6" mask.
*) Bugfix: if the "max_fails=0" parameter was used in upstream with
several servers, then a worker process exited on a SIGFPE signal.
Thanks to Maxim Dounin.
*) Bugfix: a request body was dropped while redirection via an
"error_page" directive.
*) Bugfix: a full response was returned for request method HEAD while
redirection via an "error_page" directive.
*) Bugfix: the $r->header_in() method did not return value of the
"Host", "User-Agent", and "Connection" request header lines; the bug
had appeared in 0.7.0.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 26 Aug 2008 00:00:00 +0400 |
parents | 05981f639d21 |
children | 15a022ee809b |
comparison
equal
deleted
inserted
replaced
399:59e324e4d6d3 | 400:6ebbca3d5ed7 |
---|---|
218 if (value) { | 218 if (value) { |
219 return value; | 219 return value; |
220 } | 220 } |
221 } | 221 } |
222 | 222 |
223 if (len == 0) { | |
224 return NULL; | |
225 } | |
226 | |
223 if (hash->wc_head && hash->wc_head->hash.buckets) { | 227 if (hash->wc_head && hash->wc_head->hash.buckets) { |
224 value = ngx_hash_find_wc_head(hash->wc_head, name, len); | 228 value = ngx_hash_find_wc_head(hash->wc_head, name, len); |
225 | 229 |
226 if (value) { | 230 if (value) { |
227 return value; | 231 return value; |