mirror of
https://github.com/hufrea/byedpi.git
synced 2025-02-16 08:20:02 +03:00
epoll_ctl_del before closing, bump version
This commit is contained in:
parent
e96aeff679
commit
2ebd982b3d
2 changed files with 3 additions and 1 deletions
2
conev.c
2
conev.c
|
@ -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
2
main.c
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue