changeset 2292:51487a60eba2

fix the previous commit
author Igor Sysoev <igor@sysoev.ru>
date Thu, 06 Nov 2008 19:54:54 +0000
parents e9a1cddf2aaa
children 0433bc27e468
files src/http/modules/ngx_http_gzip_filter_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/ngx_http_gzip_filter_module.c
+++ b/src/http/modules/ngx_http_gzip_filter_module.c
@@ -356,7 +356,7 @@ ngx_http_gzip_body_filter(ngx_http_reque
         }
 
         if (ctx->out == NULL) {
-            return NGX_AGAIN;
+            return ctx->busy ? NGX_AGAIN : NGX_OK;
         }
 
         if (!ctx->gzheader) {