nxt_conn.c (564:762f8c976ead) nxt_conn.c (654:b6ca49c1da1b)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

--- 85 unchanged lines hidden (view full) ---

94void
95nxt_conn_free(nxt_task_t *task, nxt_conn_t *c)
96{
97 nxt_mp_t *mp;
98
99 task->thread->engine->connections--;
100
101 mp = c->mem_pool;
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

--- 85 unchanged lines hidden (view full) ---

94void
95nxt_conn_free(nxt_task_t *task, nxt_conn_t *c)
96{
97 nxt_mp_t *mp;
98
99 task->thread->engine->connections--;
100
101 mp = c->mem_pool;
102 nxt_mp_free(mp, c);
103 nxt_mp_release(mp);
104}
105
106
107void
108nxt_conn_io_shutdown(nxt_task_t *task, void *obj, void *data)
109{
110 int ret;

--- 112 unchanged lines hidden ---
102 nxt_mp_release(mp);
103}
104
105
106void
107nxt_conn_io_shutdown(nxt_task_t *task, void *obj, void *data)
108{
109 int ret;

--- 112 unchanged lines hidden ---