summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_event_conn_job_sendfile.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-02-07 20:04:56 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-02-07 20:04:56 +0300
commit059a8642898a6bd4b47d13a1c1d599cd44af7e1c (patch)
treee3c8c530a04f1ae44777d5ea4fd6901dc55a8ebf /src/nxt_event_conn_job_sendfile.c
parente57b95a92333fa7ff558737b0ba2b76894cc0412 (diff)
downloadunit-059a8642898a6bd4b47d13a1c1d599cd44af7e1c.tar.gz
unit-059a8642898a6bd4b47d13a1c1d599cd44af7e1c.tar.bz2
Event engines refactoring.
Diffstat (limited to 'src/nxt_event_conn_job_sendfile.c')
-rw-r--r--src/nxt_event_conn_job_sendfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_event_conn_job_sendfile.c b/src/nxt_event_conn_job_sendfile.c
index a49e78dd..dd43c16f 100644
--- a/src/nxt_event_conn_job_sendfile.c
+++ b/src/nxt_event_conn_job_sendfile.c
@@ -31,7 +31,7 @@ static nxt_buf_t *nxt_event_conn_job_sendfile_completion(nxt_task_t *task,
void
nxt_event_conn_job_sendfile(nxt_task_t *task, nxt_event_conn_t *c)
{
- nxt_event_fd_disable(task->thread->engine, &c->socket);
+ nxt_fd_event_disable(task->thread->engine, &c->socket);
/* A work item data is not used in nxt_event_conn_job_sendfile_start(). */
nxt_event_conn_job_sendfile_start(task, c, NULL);
@@ -215,7 +215,7 @@ nxt_event_conn_job_sendfile_return(nxt_task_t *task, void *obj, void *data)
nxt_event_conn_timer(task->thread->engine, c, c->write_state,
&c->write_timer);
- nxt_event_fd_oneshot_write(task->thread->engine, &c->socket);
+ nxt_fd_event_oneshot_write(task->thread->engine, &c->socket);
}
if (sent != 0) {