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