diff options
| author | Gordon Sim <gsim@apache.org> | 2008-11-03 17:21:38 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-11-03 17:21:38 +0000 |
| commit | 81f1c974ba6b8fa51c33785a8b947810792f2165 (patch) | |
| tree | bc0bfc241234ece76ca1245b378c082a6e215cff /qpid/cpp/src/tests/ExchangeTest.cpp | |
| parent | 319ee053ffa4ac3db1969b6597bec9f20286e094 (diff) | |
| download | qpid-python-81f1c974ba6b8fa51c33785a8b947810792f2165.tar.gz | |
Various fixes arising from testing client failover:
* introduced new exception type for signalling connection failure (as distinct from any logical connection errors)
* ConnectionImpl::closeInternal(): take copy of session map to prevent concurrent modification (by the same thread) as sessions are deleted and erase themselves.
* ConnectionImpl::shutdown: hold lock before calling closeInternal(); mark handler failed before informing sessions of failure
* SessionImpl::connectionBroker(): remove code as its rather meaningless
* Don't swallow exceptions in Dispatcher
* Handle exceptions in FailoverListener
* Take weak_ptr to ConnectionImpl on constructor of Connector, then convert to shared_ptr when 'receiver' thread is started.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@710106 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/ExchangeTest.cpp')
0 files changed, 0 insertions, 0 deletions
