Router: a fix in the previous changeset.
This commit is contained in:
@@ -547,7 +547,7 @@ nxt_router_listener_application(nxt_router_temp_conf_t *tmcf, nxt_str_t *name)
|
||||
app = nxt_router_app_find(&tmcf->apps, name);
|
||||
|
||||
if (app == NULL) {
|
||||
app = nxt_router_app_find(&tmcf->conf->router->apps, name);
|
||||
app = nxt_router_app_find(&tmcf->previous, name);
|
||||
}
|
||||
|
||||
return app;
|
||||
|
||||
Reference in New Issue
Block a user