diff options
author | Zhidao HONG <z.hong@f5.com> | 2021-04-22 13:13:06 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2021-04-22 13:13:06 +0800 |
commit | 113afb09ea7ddeebf2376cf6df3af212705e6128 (patch) | |
tree | d39074cf006ed99d03ee97503d70f8981405deec /src/nxt_http_request.c | |
parent | f90754f84a375d5183ed6883862d19dfd417225a (diff) | |
download | unit-113afb09ea7ddeebf2376cf6df3af212705e6128.tar.gz unit-113afb09ea7ddeebf2376cf6df3af212705e6128.tar.bz2 |
Router: grouped app and share fields in nxt_http_action_t.
This is a prerequisite for further introduction of openat2() features.
No functional changes.
Diffstat (limited to 'src/nxt_http_request.c')
-rw-r--r-- | src/nxt_http_request.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_http_request.c b/src/nxt_http_request.c index 650c1a89..779cfcf8 100644 --- a/src/nxt_http_request.c +++ b/src/nxt_http_request.c @@ -348,9 +348,9 @@ nxt_http_application_handler(nxt_task_t *task, nxt_http_request_t *r, nxt_str_set(&r->server_name, "localhost"); } - r->app_target = action->target; + r->app_target = action->u.app.target; - nxt_router_process_http_request(task, r, action->u.application); + nxt_router_process_http_request(task, r, action->u.app.application); return NULL; } |