summaryrefslogtreecommitdiff
path: root/src/http/modules
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-05-03 12:12:09 +0000
committerJonathan Kolb <jon@b0g.us>2011-05-03 12:12:09 +0000
commita6bc51d66d27bb318bfb1d4139e72cb61c7151a6 (patch)
tree2886384b4072f808dfee90241520c1d75147ea96 /src/http/modules
parentdf74b95bc6692977fb5fa64f4a0c062fcc03838e (diff)
downloadnginx-a6bc51d66d27bb318bfb1d4139e72cb61c7151a6.tar.gz
Changes with nginx 1.0.1 03 May 2011v1.0.1
*) Change: now the "split_clients" directive uses MurmurHash2 algorithm because of better distribution. Thanks to Oleg Mamontov. *) Change: now long strings starting with zero are not considered as false values. Thanks to Maxim Dounin. *) Change: now nginx uses a default listen backlog value 511 on Linux. *) Feature: the $upstream_... variables may be used in the SSI and perl modules. *) Bugfix: now nginx limits better disk cache size. Thanks to Oleg Mamontov. *) Bugfix: a segmentation fault might occur while parsing incorrect IPv4 address; the bug had appeared in 0.9.3. Thanks to Maxim Dounin. *) Bugfix: nginx could not be built by gcc 4.6 without --with-debug option. *) Bugfix: nginx could not be built on Solaris 9 and earlier; the bug had appeared in 0.9.3. Thanks to Dagobert Michelsen. *) Bugfix: $request_time variable had invalid values if subrequests were used; the bug had appeared in 0.8.47. Thanks to Igor A. Valcov.
Diffstat (limited to 'src/http/modules')
-rw-r--r--src/http/modules/ngx_http_split_clients_module.c2
-rw-r--r--src/http/modules/perl/nginx.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_split_clients_module.c b/src/http/modules/ngx_http_split_clients_module.c
index c28b8f931..a43fac519 100644
--- a/src/http/modules/ngx_http_split_clients_module.c
+++ b/src/http/modules/ngx_http_split_clients_module.c
@@ -87,7 +87,7 @@ ngx_http_split_clients_variable(ngx_http_request_t *r,
return NGX_OK;
}
- hash = ngx_crc32_short(val.data, val.len);
+ hash = ngx_murmur_hash2(val.data, val.len);
part = ctx->parts.elts;
diff --git a/src/http/modules/perl/nginx.pm b/src/http/modules/perl/nginx.pm
index 4b79ce8f6..098d45b47 100644
--- a/src/http/modules/perl/nginx.pm
+++ b/src/http/modules/perl/nginx.pm
@@ -48,7 +48,7 @@ our @EXPORT = qw(
HTTP_INSUFFICIENT_STORAGE
);
-our $VERSION = '1.0.0';
+our $VERSION = '1.0.1';
require XSLoader;
XSLoader::load('nginx', $VERSION);