Skip to content

Commit

Permalink
epoll_ctl_del before closing, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
ruti committed Jul 28, 2024
1 parent e96aeff commit 2ebd982
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions conev.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ void del_event(struct poolhd *pool, struct eval *val)
}
#ifdef NOEPOLL
assert(val->fd == pool->pevents[val->index].fd);
#else
epoll_ctl(pool->efd, EPOLL_CTL_DEL, val->fd, 0);
#endif
if (val->buff.data) {
assert(val->buff.size);
Expand Down
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#define close(fd) closesocket(fd)
#endif

#define VERSION "11.2"
#define VERSION "11.3"

char oob_char[1] = "a";
char ip_option[1] = "\0";
Expand Down

0 comments on commit 2ebd982

Please sign in to comment.