fix the previous commit

This commit is contained in:
Igor Sysoev 2008-11-06 19:54:54 +00:00
parent 3e8c2f7811
commit 698b8cb038

View 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) {