mirror of
https://github.com/nginx/nginx.git
synced 2025-08-01 02:56:15 +08:00
r1262 merge:
if a subrequest was finished and SSI was in middle of SSI command parsing and the command was a fast subrequest then the second subrequest output was just after first subrequest output and response part of main request between the subrequests went after the second subrequest.
This commit is contained in:
parent
964b4bda46
commit
d79ae709ab
@ -800,8 +800,14 @@ ngx_http_ssi_body_filter(ngx_http_request_t *r, ngx_chain_t *in)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cmd->flush && ctx->out) {
|
if (cmd->flush) {
|
||||||
rc = ngx_http_ssi_output(r, ctx);
|
|
||||||
|
if (ctx->out) {
|
||||||
|
rc = ngx_http_ssi_output(r, ctx);
|
||||||
|
|
||||||
|
} else {
|
||||||
|
rc = ngx_http_next_body_filter(r, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
if (rc == NGX_ERROR) {
|
if (rc == NGX_ERROR) {
|
||||||
return NGX_ERROR;
|
return NGX_ERROR;
|
||||||
|
Loading…
Reference in New Issue
Block a user