From 057c2526ee34e83fcace2d933f524be6d0f59fea Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Tue, 25 Jul 2017 16:18:31 +0300 Subject: Assign current request id to prevent port memory release. --- src/nxt_router.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit