Software /
code /
prosody
Comparison
net/server_epoll.lua @ 9445:af7eafe82447
net.server_epoll: Log error number from wait()
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 07 Oct 2018 17:40:13 +0200 |
parent | 9441:116a9d0a295c |
child | 9473:5fdda751333a |
comparison
equal
deleted
inserted
replaced
9444:7c1cdf5f9f83 | 9445:af7eafe82447 |
---|---|
712 else | 712 else |
713 log("debug", "Removing unknown fd %d", fd); | 713 log("debug", "Removing unknown fd %d", fd); |
714 poll:del(fd); | 714 poll:del(fd); |
715 end | 715 end |
716 elseif r ~= "timeout" then | 716 elseif r ~= "timeout" then |
717 log("debug", "epoll_wait error: %s", tostring(r)); | 717 log("debug", "epoll_wait error: %s[%d]", r, w); |
718 end | 718 end |
719 until once or (quitting and next(fds) == nil); | 719 until once or (quitting and next(fds) == nil); |
720 return quitting; | 720 return quitting; |
721 end | 721 end |
722 | 722 |