Router: split nxt_http_app_conf_t from nxt_http_action_t.

No functional changes.
This commit is contained in:
Zhidao HONG
2021-07-24 11:44:52 +08:00
parent b47f1ac7ea
commit f3a1c1deb5
5 changed files with 45 additions and 43 deletions

View File

@@ -348,9 +348,7 @@ nxt_http_application_handler(nxt_task_t *task, nxt_http_request_t *r,
nxt_str_set(&r->server_name, "localhost");
}
r->app_target = action->u.app.target;
nxt_router_process_http_request(task, r, action->u.app.application);
nxt_router_process_http_request(task, r, action);
return NULL;
}