summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conn.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-11-27 17:52:28 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-11-27 17:52:28 +0300
commit80e8ce832265477693b4ec183f1ee63d89d1c90d (patch)
tree7e3325ac9ac743e6c8485df3406959323c041ad2 /src/nxt_conn.h
parent863377441bdc70885d1bad80bbbd9c6a9a3646a7 (diff)
downloadunit-80e8ce832265477693b4ec183f1ee63d89d1c90d.tar.gz
unit-80e8ce832265477693b4ec183f1ee63d89d1c90d.tar.bz2
A number of engine connections is decreased on connection close.
Diffstat (limited to 'src/nxt_conn.h')
-rw-r--r--src/nxt_conn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_conn.h b/src/nxt_conn.h
index e3204bfa..d2f3db3b 100644
--- a/src/nxt_conn.h
+++ b/src/nxt_conn.h
@@ -224,6 +224,7 @@ struct nxt_conn_s {
NXT_EXPORT nxt_conn_t *nxt_conn_create(nxt_mp_t *mp, nxt_task_t *task);
+NXT_EXPORT void nxt_conn_free(nxt_task_t *task, nxt_conn_t *c);
void nxt_conn_io_shutdown(nxt_task_t *task, void *obj, void *data);
NXT_EXPORT void nxt_conn_close(nxt_event_engine_t *engine, nxt_conn_t *c);