summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ProxyFactory.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2011-04-12 12:12:55 +0200
committerBenoit Foucher <benoit@zeroc.com>2011-04-12 12:12:55 +0200
commit1d4c8cf9f9a75394da3c0383fbcd787e2545a58c (patch)
tree0b50055f2506b099752b13ffb48a18f6d7fb5454 /cpp/src/Ice/ProxyFactory.cpp
parentUpdated MSDN menu names for SDK (diff)
downloadice-1d4c8cf9f9a75394da3c0383fbcd787e2545a58c.tar.bz2
ice-1d4c8cf9f9a75394da3c0383fbcd787e2545a58c.tar.xz
ice-1d4c8cf9f9a75394da3c0383fbcd787e2545a58c.zip
Fixed bug 4993 & 5001, addition fix for bug 4914
Diffstat (limited to 'cpp/src/Ice/ProxyFactory.cpp')
-rw-r--r--cpp/src/Ice/ProxyFactory.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/Ice/ProxyFactory.cpp b/cpp/src/Ice/ProxyFactory.cpp
index 0e5cbbef8f7..431994dc34a 100644
--- a/cpp/src/Ice/ProxyFactory.cpp
+++ b/cpp/src/Ice/ProxyFactory.cpp
@@ -14,6 +14,7 @@
#include <Ice/Proxy.h>
#include <Ice/ReferenceFactory.h>
#include <Ice/LocatorInfo.h>
+#include <Ice/RouterInfo.h>
#include <Ice/BasicStream.h>
#include <Ice/Properties.h>
#include <Ice/LoggerUtil.h>
@@ -141,6 +142,9 @@ IceInternal::ProxyFactory::checkRetryAfterException(const LocalException& ex,
// must *always* retry, so that the missing proxy is added
// to the router.
//
+
+ ref->getRouterInfo()->clearCache(ref);
+
if(traceLevels->retry >= 1)
{
Trace out(logger, traceLevels->retryCat);