A number of engine connections is decreased on connection close.

This commit is contained in:
Igor Sysoev
2017-11-27 17:52:28 +03:00
parent 863377441b
commit 80e8ce8322
4 changed files with 12 additions and 4 deletions

View File

@@ -3662,7 +3662,7 @@ nxt_router_conn_free(nxt_task_t *task, void *obj, void *data)
nxt_mp_cleanup(c->mem_pool, nxt_router_conn_mp_cleanup,
&engine->task, joint, NULL);
nxt_mp_release(c->mem_pool, c);
nxt_conn_free(task, c);
}