Subject: [Boost-bugs] [Boost C++ Libraries] #5124: EMFILE handling
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-26 12:52:11
#5124: EMFILE handling
----------------------------------+-----------------------------------------
Reporter: olafvdspek@⦠| Owner:
Type: Bugs | Status: new
Milestone: Boost 1.47.0 | Component: None
Version: Boost 1.45.0 | Severity: Problem
Keywords: |
----------------------------------+-----------------------------------------
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?
http://think-
async.com/Asio/boost_asio_1_4_7/doc/html/boost_asio/example/chat/chat_server.cpp
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5124> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC