Mercurial > hg > nginx-vendor-current
comparison src/http/modules/ngx_http_gunzip_filter_module.c @ 690:b5b7eea22fda NGINX_1_3_8
nginx 1.3.8
*) Feature: the "optional_no_ca" parameter of the "ssl_verify_client"
directive.
Thanks to Mike Kazantsev and Eric O'Connor.
*) Feature: the $bytes_sent, $connection, and $connection_requests
variables can now be used not only in the "log_format" directive.
Thanks to Benjamin Grössing.
*) Feature: the "auto" parameter of the "worker_processes" directive.
*) Bugfix: "cache file ... has md5 collision" alert.
*) Bugfix: in the ngx_http_gunzip_filter_module.
*) Bugfix: in the "ssl_stapling" directive.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 30 Oct 2012 00:00:00 +0400 |
parents | 2e8a942c8872 |
children | 6db6e93f55ee |
comparison
equal
deleted
inserted
replaced
689:4d942f0d1703 | 690:b5b7eea22fda |
---|---|
143 if (!r->gzip_tested) { | 143 if (!r->gzip_tested) { |
144 if (ngx_http_gzip_ok(r) == NGX_OK) { | 144 if (ngx_http_gzip_ok(r) == NGX_OK) { |
145 return ngx_http_next_header_filter(r); | 145 return ngx_http_next_header_filter(r); |
146 } | 146 } |
147 | 147 |
148 } else if (!r->gzip_ok) { | 148 } else if (r->gzip_ok) { |
149 return ngx_http_next_header_filter(r); | 149 return ngx_http_next_header_filter(r); |
150 } | 150 } |
151 | 151 |
152 ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_gunzip_ctx_t)); | 152 ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_gunzip_ctx_t)); |
153 if (ctx == NULL) { | 153 if (ctx == NULL) { |