Mercurial > hg > nginx
comparison src/http/modules/ngx_http_ssi_filter_module.c @ 1261:58691d40829f
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.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 17 Jun 2007 18:10:43 +0000 |
parents | c3541b8973de |
children | e30e9de091b7 |
comparison
equal
deleted
inserted
replaced
1260:c3541b8973de | 1261:58691d40829f |
---|---|
798 | 798 |
799 goto ssi_error; | 799 goto ssi_error; |
800 } | 800 } |
801 } | 801 } |
802 | 802 |
803 if (cmd->flush && ctx->out) { | 803 if (cmd->flush) { |
804 rc = ngx_http_ssi_output(r, ctx); | 804 |
805 if (ctx->out) { | |
806 rc = ngx_http_ssi_output(r, ctx); | |
807 | |
808 } else { | |
809 rc = ngx_http_next_body_filter(r, NULL); | |
810 } | |
805 | 811 |
806 if (rc == NGX_ERROR) { | 812 if (rc == NGX_ERROR) { |
807 return NGX_ERROR; | 813 return NGX_ERROR; |
808 } | 814 } |
809 } | 815 } |