Mike Kaplinskiy mike.kaplinskiy@gmail.com writes:
server/async.c | 8 ++++++++ server/file.h | 1 + server/sock.c | 26 +++++++++++--------------- 3 files changed, 20 insertions(+), 15 deletions(-)
This doesn't look right. You shouldn't ignore POLLIN/POLLOUT, they shouldn't have been selected in the first place. If you do get them you have to do something with them and unselect them.