comparison src/http/modules/ngx_http_split_clients_module.c @ 626:a7a5fa2e395b NGINX_1_0_3

nginx 1.0.3 *) Feature: the "auth_basic_user_file" directive supports "$apr1", "{PLAIN}", and "{SSHA}" password encryption methods. Thanks to Maxim Dounin. *) Feature: the "geoip_org" directive and $geoip_org variable. Thanks to Alexander Uskov, Arnaud Granal, and Denis F. Latypoff. *) Feature: ngx_http_geo_module and ngx_http_geoip_module support IPv4 addresses mapped to IPv6 addresses. *) Bugfix: a segmentation fault occurred in a worker process during testing IPv4 address mapped to IPv6 address, if access or deny rules were defined only for IPv6; the bug had appeared in 0.8.22. *) Bugfix: a cached reponse may be broken if proxy/fastcgi/scgi/ uwsgi_cache_bypass and proxy/fastcgi/scgi/uwsgi_no_cache directive values were different; the bug had appeared in 0.8.46.
author Igor Sysoev <http://sysoev.ru>
date Wed, 25 May 2011 00:00:00 +0400
parents 8dc007eddbcf
children d0f7a625f27c
comparison
equal deleted inserted replaced
625:30f948276abe 626:a7a5fa2e395b
92 part = ctx->parts.elts; 92 part = ctx->parts.elts;
93 93
94 for (i = 0; i < ctx->parts.nelts; i++) { 94 for (i = 0; i < ctx->parts.nelts; i++) {
95 95
96 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 96 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
97 "%D %D", hash, part[i].percent); 97 "http split: %uD %uD", hash, part[i].percent);
98 98
99 if (hash < part[i].percent) { 99 if (hash < part[i].percent) {
100 *v = part[i].value; 100 *v = part[i].value;
101 return NGX_OK; 101 return NGX_OK;
102 } 102 }