Var: separating nxt_tstr_t from nxt_var_t.
It's for the introduction of njs support. For each option that supports native variable and JS template literals introduced next, it's unified as template string. No functional changes.
This commit is contained in:
@@ -169,7 +169,8 @@ struct nxt_http_request_s {
|
||||
nxt_timer_t timer;
|
||||
void *timer_data;
|
||||
|
||||
nxt_var_query_t *var_query;
|
||||
nxt_tstr_query_t *tstr_query;
|
||||
nxt_var_cache_t var_cache;
|
||||
|
||||
void *req_rpc_data;
|
||||
|
||||
@@ -245,7 +246,7 @@ struct nxt_http_action_s {
|
||||
nxt_http_route_t *route;
|
||||
nxt_upstream_t *upstream;
|
||||
uint32_t upstream_number;
|
||||
nxt_var_t *var;
|
||||
nxt_tstr_t *tstr;
|
||||
nxt_str_t *pass;
|
||||
} u;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user