summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_openssl.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_openssl.c b/src/nxt_openssl.c
index 3903b5a7..a0eec258 100644
--- a/src/nxt_openssl.c
+++ b/src/nxt_openssl.c
@@ -574,7 +574,7 @@ nxt_openssl_conn_io_shutdown(nxt_task_t *task, void *obj, void *data)
if (n != NXT_ERROR) { /* n == NXT_AGAIN */
c->socket.error_handler = c->read_state->error_handler;
- nxt_event_timer_add(task->thread->engine, &c->read_timer, 5000);
+ nxt_timer_add(task->thread->engine, &c->read_timer, 5000);
return;
}