diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-11-06 19:54:54 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-11-06 19:54:54 +0000 |
commit | 698b8cb03862606e94a08dff6be55c6526773e74 (patch) | |
tree | dc1d8ef1f9be3231f595ef859bbca51780d38a36 /src | |
parent | 3e8c2f78118041c2b4a3c06db7919f07ad2037c2 (diff) | |
download | nginx-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.c | 2 |
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) { |