]> git.kaiwu.me - nginx.git/commitdiff
fix the previous commit
authorIgor Sysoev <igor@sysoev.ru>
Thu, 6 Nov 2008 19:54:54 +0000 (19:54 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 6 Nov 2008 19:54:54 +0000 (19:54 +0000)
src/http/modules/ngx_http_gzip_filter_module.c

index beeb15931d909ee012d5005fc605040dbf700dc1..15a2c4d336d7d57d07477cdee0747dd1504ddc01 100644 (file)
@@ -356,7 +356,7 @@ ngx_http_gzip_body_filter(ngx_http_request_t *r, ngx_chain_t *in)
         }
 
         if (ctx->out == NULL) {
-            return NGX_AGAIN;
+            return ctx->busy ? NGX_AGAIN : NGX_OK;
         }
 
         if (!ctx->gzheader) {