Mercurial > hg > nginx-vendor-0-7
comparison src/core/ngx_hash.c @ 242:ff906029dd40 NGINX_0_4_6
nginx 0.4.6
*) Bugfix: nginx did not run on 64-bit platforms except amd64, sparc64,
and ppc64.
*) Bugfix: nginx sent the chunked response for HTTP/1.1 request,
if its length was set by text string in the
$r->headers_out("Content-Length", ...) method.
*) Bugfix: after redirecting error by an "error_page" directive any
ngx_http_rewrite_module directive returned this error code; bug
appeared in 0.4.4.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 06 Oct 2006 00:00:00 +0400 |
parents | e6da4931e0e0 |
children | 429900ca25ee |
comparison
equal
deleted
inserted
replaced
241:c3cf292cce38 | 242:ff906029dd40 |
---|---|
164 return NGX_ERROR; | 164 return NGX_ERROR; |
165 } | 165 } |
166 | 166 |
167 bucket_size = hinit->bucket_size - sizeof(void *); | 167 bucket_size = hinit->bucket_size - sizeof(void *); |
168 | 168 |
169 start = nelts / (bucket_size / (2 * sizeof(void *)) - 1); | 169 start = nelts / (bucket_size / (2 * sizeof(void *))); |
170 start = start ? start : 1; | 170 start = start ? start : 1; |
171 | 171 |
172 if (hinit->max_size > 10000 && hinit->max_size / nelts < 100) { | 172 if (hinit->max_size > 10000 && hinit->max_size / nelts < 100) { |
173 start = hinit->max_size - 1000; | 173 start = hinit->max_size - 1000; |
174 } | 174 } |