Handle poll(fds, 1, -1) returning 0 safely, not with an assert.
This should never return 0, but we're seeing it happen on OSX (with an errno of ETIMEDOUT). We can safely handle it by logging, resetting errno, and resuming polling, so we should.
Loading
Please sign in to comment