comparison src/http/modules/ngx_http_ssi_filter_module.c @ 314:d5ec0be9c835 NGINX_0_6_1

nginx 0.6.1 *) Bugfix: in SSI parsing. *) 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. *) Bugfix: the perl $$ variable value in ngx_http_perl_module was equal to the master process identification number.
author Igor Sysoev <http://sysoev.ru>
date Sun, 17 Jun 2007 00:00:00 +0400
parents cba14c1e2a4b
children d16d691432c9
comparison
equal deleted inserted replaced
313:a42b0aafacc1 314:d5ec0be9c835
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 }
1018 } 1024 }
1019 1025
1020 ch = *p; 1026 ch = *p;
1021 } 1027 }
1022 1028
1029 ctx->state = state;
1023 ctx->pos = p; 1030 ctx->pos = p;
1024 ctx->looked = looked; 1031 ctx->looked = looked;
1025 ctx->copy_end = p; 1032 ctx->copy_end = p;
1026 1033
1027 if (ctx->copy_start == NULL) { 1034 if (ctx->copy_start == NULL) {