aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-11-06 19:54:54 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-11-06 19:54:54 +0000
commit698b8cb03862606e94a08dff6be55c6526773e74 (patch)
treedc1d8ef1f9be3231f595ef859bbca51780d38a36 /src
parent3e8c2f78118041c2b4a3c06db7919f07ad2037c2 (diff)
downloadnginx-698b8cb03862606e94a08dff6be55c6526773e74.tar.gz
nginx-698b8cb03862606e94a08dff6be55c6526773e74.zip
fix the previous commit
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_gzip_filter_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_gzip_filter_module.c b/src/http/modules/ngx_http_gzip_filter_module.c
index beeb15931..15a2c4d33 100644
--- 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_request_t *r, ngx_chain_t *in)
}
if (ctx->out == NULL) {
- return NGX_AGAIN;
+ return ctx->busy ? NGX_AGAIN : NGX_OK;
}
if (!ctx->gzheader) {