Mercurial > hg > nginx
comparison src/http/modules/ngx_http_ssi_filter_module.c @ 1260:c3541b8973de
if "<!--" was on edge of buf, then ssi_sharp_state was saved in ctx->saved
and if it was not reset, then any '#' was treated as SSI command start
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 17 Jun 2007 17:54:48 +0000 |
parents | 99c56c0f514e |
children | 58691d40829f |
comparison
equal
deleted
inserted
replaced
1259:05b5236c2ff5 | 1260:c3541b8973de |
---|---|
1018 } | 1018 } |
1019 | 1019 |
1020 ch = *p; | 1020 ch = *p; |
1021 } | 1021 } |
1022 | 1022 |
1023 ctx->state = state; | |
1023 ctx->pos = p; | 1024 ctx->pos = p; |
1024 ctx->looked = looked; | 1025 ctx->looked = looked; |
1025 ctx->copy_end = p; | 1026 ctx->copy_end = p; |
1026 | 1027 |
1027 if (ctx->copy_start == NULL) { | 1028 if (ctx->copy_start == NULL) { |