mirror of
https://github.com/nginx/nginx.git
synced 2025-08-05 14:06:16 +08:00
fix gzip and SSL
This commit is contained in:
parent
408dfc1714
commit
d47063bd90
@ -837,12 +837,15 @@ ngx_http_gzip_body_filter(ngx_http_request_t *r, ngx_chain_t *in)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (last == NGX_AGAIN && !ctx->done) {
|
if (ctx->out == NULL) {
|
||||||
return NGX_AGAIN;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ctx->out == NULL && ctx->busy == NULL) {
|
if (last == NGX_AGAIN) {
|
||||||
return NGX_OK;
|
return NGX_AGAIN;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (ctx->busy == NULL) {
|
||||||
|
return NGX_OK;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
last = ngx_http_next_body_filter(r, ctx->out);
|
last = ngx_http_next_body_filter(r, ctx->out);
|
||||||
|
Loading…
Reference in New Issue
Block a user