Klaus Demo nginx / 414e94f
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. Igor Sysoev 12 years ago
1 changed file(s) with 8 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
799799 }
800800 }
801801
802 if (cmd->flush && ctx->out) {
803 rc = ngx_http_ssi_output(r, ctx);
802 if (cmd->flush) {
803
804 if (ctx->out) {
805 rc = ngx_http_ssi_output(r, ctx);
806
807 } else {
808 rc = ngx_http_next_body_filter(r, NULL);
809 }
804810
805811 if (rc == NGX_ERROR) {
806812 return NGX_ERROR;