Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/platform/datapath_epoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,7 @@ CxPlatSocketContextStartReceive(
}

struct epoll_event SockFdEpEvt = {
.events = EPOLLIN | EPOLLET,
.events = EPOLLIN,
.data = {
.ptr = &SocketContext->EventContexts[QUIC_SOCK_EVENT_SOCKET]
}
Expand Down Expand Up @@ -1644,7 +1644,7 @@ CxPlatSocketContextSendComplete(
CXPLAT_SEND_DATA* SendData = NULL;

struct epoll_event SockFdEpEvt = {
.events = EPOLLIN | EPOLLET,
.events = EPOLLIN,
.data = {
.ptr = &SocketContext->EventContexts[QUIC_SOCK_EVENT_SOCKET]
}
Expand Down Expand Up @@ -2611,7 +2611,7 @@ CxPlatSocketSendInternal(
}
SendPending = TRUE;
struct epoll_event SockFdEpEvt = {
.events = EPOLLIN | EPOLLOUT | EPOLLET,
.events = EPOLLIN | EPOLLOUT,
.data = {
.ptr = &SocketContext->EventContexts[QUIC_SOCK_EVENT_SOCKET]
}
Expand Down
2 changes: 1 addition & 1 deletion src/platform/datapath_kqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ CxPlatSocketContextStartReceive(
struct kevent Event = {0};
EV_SET(
&Event, SocketContext->SocketFd,
EVFILT_READ, EV_ADD | EV_ENABLE | EV_CLEAR,
EVFILT_READ, EV_ADD | EV_ENABLE,
0,
0,
(void*)SocketContext);
Expand Down