summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
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
commitd673a703d179cfd4187ec83cff7a6466823c002d (patch)
tree52be9821a57b9dd568d4d2b88954caadfa7a50d5 /qpid/cpp/src
parente7ea67d658414c0439c98b4eb097da0a480b309d (diff)
downloadqpid-python-d673a703d179cfd4187ec83cff7a6466823c002d.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@787815 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp b/qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp
index ecfed6b42a..306516de17 100644
--- a/qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp
+++ b/qpid/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);