ports/www/nginx-devel/files/extra-patch-ngx_http_redis_module.c
Sergey A. Osokin 653e46c9d0 Update from 0.8.24 to 0.8.27.
<ChangeLog>

Changes with nginx 0.8.27

*) Bugfix: regular expressions did work in nginx/Windows; the bug had
   appeared in 0.8.25.

Changes with nginx 0.8.26

*) Bugfix: in captures usage in "rewrite" directive; the bug had
   appeared in 0.8.25.

*) Bugfix: nginx could not be built without the --with-debug option;
   the bug had appeared in 0.8.25.

Changes with nginx 0.8.25

*) Change: now no message is written in an error log if a variable is
   not found by $r->variable() method.

*) Feature: the ngx_http_degradation_module.

*) Feature: regular expression named captures.

*) Feature: now URI part is not required a "proxy_pass" directive if
   variables are used.

*) Feature: now the "msie_padding" directive works for Chrome too.

*) Bugfix: a segmentation fault occurred in a worker process on low
   memory condition; the bug had appeared in 0.8.18.

*) Bugfix: nginx sent gzipped responses to clients those do not support
   gzip, if "gzip_static on" and "gzip_vary off"; the bug had appeared
   in 0.8.16.

</ChangeLog>
2009-11-19 10:09:29 +00:00

20 lines
910 B
C

--- ../ngx_http_redis-0.2.0/ngx_http_redis_module.c.orig 2009-11-19 11:21:17.000000000 +0300
+++ ../ngx_http_redis-0.2.0/ngx_http_redis_module.c 2009-11-19 11:21:57.000000000 +0300
@@ -244,7 +244,7 @@
vv[0] = ngx_http_get_indexed_variable(r, rlcf->db);
if (vv[0] == NULL || vv[0]->not_found || vv[0]->len == 0) {
- ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
+ ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
"select 0 redis database" );
len = sizeof("select 0") - 1;
} else {
@@ -287,7 +287,7 @@
ctx->key.data = b->last;
if (vv[0] == NULL || vv[0]->not_found || vv[0]->len == 0) {
- ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
+ ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
"select 0 redis database" );
*b->last++ = '0';
} else {