haskell-distributed / network-transport-tcp

TCP Realisation of Network.Transport
http://haskell-distributed.github.com
BSD 3-Clause "New" or "Revised" License
30 stars 27 forks source link

Server exception handler is a parameter #63

Closed avieth closed 7 years ago

avieth commented 7 years ago

The server need not crash if accept throws an exception.

One example application: if the exception is EMFILE (no more file descriptors available), the server doesn't have to crash, it could just wait before trying to accept again.

avieth commented 7 years ago

Bump. Any objections to this? @facundominguez

facundominguez commented 7 years ago

LGTM, thanks @avieth.