flush variable values in try_files
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index e281973..a7a5cdb 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1082,7 +1082,6 @@
e.ip = tf->lengths->elts;
e.request = r;
- e.flushed = 1;
/* 1 is for terminating '\0' as in static names */
len = 1;
@@ -1127,6 +1126,7 @@
} else {
e.ip = tf->values->elts;
e.pos = name;
+ e.flushed = 1;
while (*(uintptr_t *) e.ip) {
code = *(ngx_http_script_code_pt *) e.ip;