diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-11-27 17:52:28 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-11-27 17:52:28 +0300 |
commit | 80e8ce832265477693b4ec183f1ee63d89d1c90d (patch) | |
tree | 7e3325ac9ac743e6c8485df3406959323c041ad2 /src/nxt_controller.c | |
parent | 863377441bdc70885d1bad80bbbd9c6a9a3646a7 (diff) | |
download | unit-80e8ce832265477693b4ec183f1ee63d89d1c90d.tar.gz unit-80e8ce832265477693b4ec183f1ee63d89d1c90d.tar.bz2 |
A number of engine connections is decreased on connection close.
Diffstat (limited to 'src/nxt_controller.c')
-rw-r--r-- | src/nxt_controller.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nxt_controller.c b/src/nxt_controller.c index 78da02a8..be7bfd5d 100644 --- a/src/nxt_controller.c +++ b/src/nxt_controller.c @@ -721,9 +721,7 @@ nxt_controller_conn_free(nxt_task_t *task, void *obj, void *data) nxt_sockaddr_cache_free(task->thread->engine, c); - nxt_mp_destroy(c->mem_pool); - - //nxt_free(c); + nxt_conn_free(task, c); } |