summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-06-23 20:02:47 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-06-23 20:02:47 +0000
commitadea131916da275eadece32cc92be9614c7b3dce (patch)
tree4bd695f422d1b71ded2794739b4a6635477b7ad6
parent843b3e5d27729be7b6f6299b468dec8a8d456aee (diff)
downloadqpid-python-adea131916da275eadece32cc92be9614c7b3dce.tar.gz
Fix for issue where a broker with single io thread can get stuck if it
runs out of file handles. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787815 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--cpp/src/qpid/sys/posix/AsynchIO.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/posix/AsynchIO.cpp b/cpp/src/qpid/sys/posix/AsynchIO.cpp
index ecfed6b42a..306516de17 100644
--- a/cpp/src/qpid/sys/posix/AsynchIO.cpp
+++ b/cpp/src/qpid/sys/posix/AsynchIO.cpp
@@ -136,6 +136,7 @@ void AsynchAcceptorPrivate::readable(DispatchHandle& h) {
}
} catch (const std::exception& e) {
QPID_LOG(error, "Could not accept socket: " << e.what());
+ break;
}
} while (true);