fix gzip and SSL
This commit is contained in:
parent
eae2ca31df
commit
90901080d0
1 changed files with 8 additions and 5 deletions
|
@ -837,12 +837,15 @@ ngx_http_gzip_body_filter(ngx_http_request_t *r, ngx_chain_t *in)
|
|||
}
|
||||
}
|
||||
|
||||
if (last == NGX_AGAIN && !ctx->done) {
|
||||
return NGX_AGAIN;
|
||||
}
|
||||
if (ctx->out == NULL) {
|
||||
|
||||
if (ctx->out == NULL && ctx->busy == NULL) {
|
||||
return NGX_OK;
|
||||
if (last == NGX_AGAIN) {
|
||||
return NGX_AGAIN;
|
||||
}
|
||||
|
||||
if (ctx->busy == NULL) {
|
||||
return NGX_OK;
|
||||
}
|
||||
}
|
||||
|
||||
last = ngx_http_next_body_filter(r, ctx->out);
|
||||
|
|
Loading…
Reference in a new issue