summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpid/client/FailoverConnection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/qpid/client/FailoverConnection.cpp')
-rw-r--r--qpid/cpp/src/qpid/client/FailoverConnection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/qpid/client/FailoverConnection.cpp b/qpid/cpp/src/qpid/client/FailoverConnection.cpp
index cac680295d..c5d775bf82 100644
--- a/qpid/cpp/src/qpid/client/FailoverConnection.cpp
+++ b/qpid/cpp/src/qpid/client/FailoverConnection.cpp
@@ -146,9 +146,9 @@ FailoverConnection::failover ( )
* (and, through them, their SessionManagers and whatever else)
* that we are about to failover to this new Connection.
*/
- // FIXME mgoulish -- get rid of two-passes here.
- std::vector<FailoverSession *>::iterator sessions_iterator;
+ // FIXME aconway 2008-10-10: thread unsafe, possible race with concurrent newSession
+ std::vector<FailoverSession *>::iterator sessions_iterator;
for ( sessions_iterator = sessions.begin();
sessions_iterator < sessions.end();
++ sessions_iterator