diff options
author | Zhidao HONG <z.hong@f5.com> | 2022-11-20 23:16:51 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2022-11-20 23:16:51 +0800 |
commit | 4d6d146e920667a8afeacd355e4fb6a94387066e (patch) | |
tree | d25e70f93a4f91960434c4d631072e9936f80e36 /src/nxt_http_static.c | |
parent | 4735931ace321752c387dae04c8b217ef22897ee (diff) | |
download | unit-4d6d146e920667a8afeacd355e4fb6a94387066e.tar.gz unit-4d6d146e920667a8afeacd355e4fb6a94387066e.tar.bz2 |
Basic njs support.
Diffstat (limited to 'src/nxt_http_static.c')
-rw-r--r-- | src/nxt_http_static.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_http_static.c b/src/nxt_http_static.c index 7143ecd3..68174b9d 100644 --- a/src/nxt_http_static.c +++ b/src/nxt_http_static.c @@ -276,7 +276,7 @@ nxt_http_static_iterate(nxt_task_t *task, nxt_http_request_t *r, rtcf = r->conf->socket_conf->router_conf; ret = nxt_tstr_query_init(&r->tstr_query, rtcf->tstr_state, - &r->var_cache, r, r->mem_pool); + &r->tstr_cache, r, r->mem_pool); if (nxt_slow_path(ret != NXT_OK)) { nxt_http_request_error(task, r, NXT_HTTP_INTERNAL_SERVER_ERROR); return; |