diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-07-25 16:18:31 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-07-25 16:18:31 +0300 |
commit | 057c2526ee34e83fcace2d933f524be6d0f59fea (patch) | |
tree | 95a823d5e7c33e49be16ba618e07e507c3d83b29 /src/nxt_router.c | |
parent | 5a756647ff7c65d1997bda9bcac4bf588149139a (diff) | |
download | unit-057c2526ee34e83fcace2d933f524be6d0f59fea.tar.gz unit-057c2526ee34e83fcace2d933f524be6d0f59fea.tar.bz2 |
Assign current request id to prevent port memory release.
Diffstat (limited to 'src/nxt_router.c')
-rw-r--r-- | src/nxt_router.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c index 5116234c..567c9df6 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -2091,6 +2091,7 @@ nxt_router_app_release_port(nxt_task_t *task, void *obj, void *data) &app->name, app, ra->req_id); ra->app_port = port; + port->app_req_id = ra->req_id; nxt_router_process_http_request_mp(task, ra, port); |