fix kqueue eof event

This commit is contained in:
zixun
2018-07-05 18:35:43 +08:00
committed by 云风
parent 0e41231298
commit 1df72c0afe
4 changed files with 10 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ struct event {
bool read;
bool write;
bool error;
bool eof;
};
static bool sp_invalid(poll_fd fd);