summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_epoll_engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_epoll_engine.c')
-rw-r--r--src/nxt_epoll_engine.c24
1 files changed, 11 insertions, 13 deletions
diff --git a/src/nxt_epoll_engine.c b/src/nxt_epoll_engine.c
index e41ef216..68e8d609 100644
--- a/src/nxt_epoll_engine.c
+++ b/src/nxt_epoll_engine.c
@@ -97,26 +97,24 @@ static ssize_t nxt_epoll_edge_conn_io_recvbuf(nxt_conn_t *c, nxt_buf_t *b);
static nxt_conn_io_t nxt_epoll_edge_conn_io = {
- nxt_epoll_edge_conn_io_connect,
- nxt_conn_io_accept,
+ .connect = nxt_epoll_edge_conn_io_connect,
+ .accept = nxt_conn_io_accept,
- nxt_conn_io_read,
- nxt_epoll_edge_conn_io_recvbuf,
- nxt_conn_io_recv,
+ .read = nxt_conn_io_read,
+ .recvbuf = nxt_epoll_edge_conn_io_recvbuf,
+ .recv = nxt_conn_io_recv,
- nxt_conn_io_write,
- nxt_event_conn_io_write_chunk,
+ .write = nxt_conn_io_write,
+ .sendbuf = nxt_conn_io_sendbuf,
#if (NXT_HAVE_LINUX_SENDFILE)
- nxt_linux_event_conn_io_sendfile,
+ .old_sendbuf = nxt_linux_event_conn_io_sendfile,
#else
- nxt_event_conn_io_sendbuf,
+ .old_sendbuf = nxt_event_conn_io_sendbuf,
#endif
- nxt_event_conn_io_writev,
- nxt_event_conn_io_send,
-
- nxt_conn_io_shutdown,
+ .writev = nxt_event_conn_io_writev,
+ .send = nxt_event_conn_io_send,
};