Router: refactored variable pass.
Since the "pass" option supports both strings and variables, a generic nxt_var_t structure can be used in the configuration phase, and the "name" field in actions is redundant. No functional changes.
This commit is contained in:
@@ -460,8 +460,6 @@ nxt_http_request_action(nxt_task_t *task, nxt_http_request_t *r,
|
||||
if (nxt_fast_path(action != NULL)) {
|
||||
|
||||
do {
|
||||
nxt_debug(task, "http request route: %V", &action->name);
|
||||
|
||||
action = action->handler(task, r, action);
|
||||
|
||||
if (action == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user