Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kqueue: Ignore EPIPE coming out of kevent #584

Merged
merged 1 commit into from
Apr 7, 2017
Merged

Commits on Apr 4, 2017

  1. kqueue: Ignore EPIPE coming out of kevent

    This commit updates mio to ignore `EPIPE` coming out of `kevent`. It
    turns out that older versions of OSX (10.10 and 10.11 have been
    confirmed) will return an `EPIPE` when registering one half of a pipe
    where the other half has been closed. On other platforms this is an ok
    operation which just returns that the pipe is readable/writable (to
    return an error/eof), so this brings the OSX behavior in line by
    ignoring the error and moving to the next event.
    
    Closes #582
    alexcrichton committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    903e765 View commit details
    Browse the repository at this point in the history