Ticket #5124 (closed Bugs: fixed)
|Reported by:||olafvdspek@…||Owned by:||chris_kohlhoff|
What is the recommended way to handle EMFILE on accept? The chat server example returns from the handler without doing a new accept, which means the server won't accept any new connections after hitting EMFILE. This is undesirable. I've just been bitten by this myself.
Would it be possible for Asio itself to handle this situation gracefully?