r1979 merge:

reset looked at match
This commit is contained in:
Igor Sysoev 2008-05-04 10:11:23 +00:00
parent 7560165df1
commit 5fa7846941
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ ngx_http_sub_parse(ngx_http_request_t *r, ngx_http_sub_ctx_t *ctx)
ctx->state = sub_start_state;
ctx->pos = p + 1;
ctx->looked = looked;
ctx->looked = 0;
ctx->copy_end = copy_end;
if (ctx->copy_start == NULL && copy_end) {