summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_epoll.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-01-31 22:26:50 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-01-31 22:26:50 +0300
commit18281ee37eaa9409a6af0aeb3c1926bba36cba0f (patch)
tree02c6421f40c6fe0b0a966e3f1e355da0a9b0fe4c /src/nxt_epoll.c
parentbb87fa11ca65d1263a32f86d51d1daa89dc11544 (diff)
downloadunit-18281ee37eaa9409a6af0aeb3c1926bba36cba0f.tar.gz
unit-18281ee37eaa9409a6af0aeb3c1926bba36cba0f.tar.bz2
Event engine timers refactoring.
Diffstat (limited to 'src/nxt_epoll.c')
-rw-r--r--src/nxt_epoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_epoll.c b/src/nxt_epoll.c
index 8673a210..42973e12 100644
--- a/src/nxt_epoll.c
+++ b/src/nxt_epoll.c
@@ -1136,7 +1136,7 @@ nxt_epoll_edge_event_conn_connected(nxt_task_t *task, void *obj, void *data)
c->socket.write = NXT_EVENT_BLOCKED;
if (c->write_state->autoreset_timer) {
- nxt_timer_disable(&c->write_timer);
+ nxt_timer_disable(task->thread->engine, &c->write_timer);
}
nxt_event_conn_io_handle(task->thread, c->write_work_queue,