comparison src/http/modules/ngx_http_gzip_filter_module.c @ 640:eb208e0cf44d NGINX_1_1_4

nginx 1.1.4 *) Feature: the ngx_http_upstream_keepalive module. *) Feature: the "proxy_http_version" directive. *) Feature: the "fastcgi_keep_conn" directive. *) Feature: the "worker_aio_requests" directive. *) Bugfix: if nginx was built --with-file-aio it could not be run on Linux kernel which did not support AIO. *) Bugfix: in Linux AIO error processing. Thanks to Hagai Avrahami. *) Bugfix: reduced memory consumption for long-lived requests. *) Bugfix: the module ngx_http_mp4_module did not support 64-bit MP4 "co64" atom.
author Igor Sysoev <http://sysoev.ru>
date Tue, 20 Sep 2011 00:00:00 +0400
parents c5122335e41d
children d0f7a625f27c
comparison
equal deleted inserted replaced
639:b516b4e38bc9 640:eb208e0cf44d
376 goto failed; 376 goto failed;
377 } 377 }
378 378
379 cl = NULL; 379 cl = NULL;
380 380
381 ngx_chain_update_chains(&ctx->free, &ctx->busy, &cl, 381 ngx_chain_update_chains(r->pool, &ctx->free, &ctx->busy, &cl,
382 (ngx_buf_tag_t) &ngx_http_gzip_filter_module); 382 (ngx_buf_tag_t) &ngx_http_gzip_filter_module);
383 ctx->nomem = 0; 383 ctx->nomem = 0;
384 } 384 }
385 385
386 for ( ;; ) { 386 for ( ;; ) {
446 goto failed; 446 goto failed;
447 } 447 }
448 448
449 ngx_http_gzip_filter_free_copy_buf(r, ctx); 449 ngx_http_gzip_filter_free_copy_buf(r, ctx);
450 450
451 ngx_chain_update_chains(&ctx->free, &ctx->busy, &ctx->out, 451 ngx_chain_update_chains(r->pool, &ctx->free, &ctx->busy, &ctx->out,
452 (ngx_buf_tag_t) &ngx_http_gzip_filter_module); 452 (ngx_buf_tag_t) &ngx_http_gzip_filter_module);
453 ctx->last_out = &ctx->out; 453 ctx->last_out = &ctx->out;
454 454
455 ctx->nomem = 0; 455 ctx->nomem = 0;
456 456