vapor-community / sockets

🔌 Non-blocking TCP socket layer, with event-driven server and client.
MIT License
575 stars 54 forks source link

Don't fail accept() when EINTR is sent #70

Closed czechboy0 closed 8 years ago

czechboy0 commented 8 years ago

Fixes the annoying log Server error: accept(Socket failed with code 4 ("Interrupted system call") [acceptFailed] "Non-recoverable failure in name resolution") when a breakpoint is manipulated in Xcode while the server is running.

/cc @LoganWright @tannernelson