comparison src/http/modules/ngx_http_ssi_filter_module.c @ 314:8f0416b14242 NGINX_0_5_27

nginx 0.5.27 *) Bugfix: if remote SSI subrequest was used, then posterior local file subrequest might transferred to client in wrong order. *) Bugfix: large SSI inclusions buffered in temporary files were truncated.
author Igor Sysoev <http://sysoev.ru>
date Mon, 09 Jul 2007 00:00:00 +0400
parents d810822b7425
children 3021f899881a
comparison
equal deleted inserted replaced
313:1708cc3ec3be 314:8f0416b14242
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 }