summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/OutgoingAsync.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp
index 518867e06f2..62c0943fb09 100644
--- a/cpp/src/Ice/OutgoingAsync.cpp
+++ b/cpp/src/Ice/OutgoingAsync.cpp
@@ -123,6 +123,12 @@ ProxyOutgoingAsyncBase::retryException(const Exception& ex)
{
try
{
+ //
+ // It's important to let the retry queue do the retry. This is
+ // called from the connect request handler and the retry might
+ // require could end up waiting for the flush of the
+ // connection to be done.
+ //
handleRetryException(ex);
_instance->retryQueue()->add(this, 0);
}