comparison src/http/modules/ngx_http_gzip_filter_module.c @ 440:6281966854a5 NGINX_0_7_32

nginx 0.7.32 *) Feature: now a directory existence testing can be set explicitly in the "try_files" directive. *) Bugfix: fastcgi_store stored files not always. *) Bugfix: in geo ranges. *) Bugfix: in shared memory allocations if nginx was built without debugging. Thanks to Andrey Kvasov.
author Igor Sysoev <http://sysoev.ru>
date Mon, 26 Jan 2009 00:00:00 +0300
parents 49a0eb7ce20c
children a8424ffa495c
comparison
equal deleted inserted replaced
439:02687ee42c28 440:6281966854a5
300 "http gzip filter"); 300 "http gzip filter");
301 301
302 if (ctx->buffering) { 302 if (ctx->buffering) {
303 303
304 if (in) { 304 if (in) {
305 switch (ngx_http_gzip_filter_copy_recycled(ctx, in)) { 305 switch (ngx_http_gzip_filter_copy_recycled(ctx, in)) {
306 306
307 case NGX_OK: 307 case NGX_OK:
308 return NGX_OK; 308 return NGX_OK;
309 309
310 case NGX_DONE: 310 case NGX_DONE:
311 in = NULL; 311 in = NULL;
312 break; 312 break;
313 313
314 default: /* NGX_ERROR */ 314 default: /* NGX_ERROR */
315 goto failed; 315 goto failed;
316 } 316 }
317 317
318 } else { 318 } else {
319 ctx->buffering = 0; 319 ctx->buffering = 0;
320 } 320 }
321 } 321 }