vapor-community / sockets

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

prevent sigpipe #43

Closed tanner0101 closed 8 years ago

tanner0101 commented 8 years ago

Solves #37 according to this SO post: http://stackoverflow.com/questions/108183/how-to-prevent-sigpipes-or-handle-them-properly

This does not make any breaking changes so it should work as a patch fix.

czechboy0 commented 8 years ago

This fails on Linux. I think this solution in curassow should work pretty well on both platforms: https://github.com/kylef/Curassow/pull/9

czechboy0 commented 8 years ago

Replaced by #44.