epoll_ctl_del before closing, bump version

This commit is contained in:
ruti 2024-07-28 18:28:12 +03:00
parent e96aeff679
commit 2ebd982b3d
2 changed files with 3 additions and 1 deletions

View File

@ -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);

2
main.c
View File

@ -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";