summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ProxyFactory.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2009-01-22 10:20:46 +0100
committerBenoit Foucher <benoit@zeroc.com>2009-01-22 10:20:46 +0100
commit835547130d5644346a3303deee7ed52511ce2a6f (patch)
treed731c827129cdfbaa11b129d0dc7494ac7ad1377 /cpp/src/Ice/ProxyFactory.cpp
parentbug 3659 - updating applet demo README (diff)
downloadice-835547130d5644346a3303deee7ed52511ce2a6f.tar.bz2
ice-835547130d5644346a3303deee7ed52511ce2a6f.tar.xz
ice-835547130d5644346a3303deee7ed52511ce2a6f.zip
More fixes for bug3504 and fixed bug3506
Diffstat (limited to 'cpp/src/Ice/ProxyFactory.cpp')
-rw-r--r--cpp/src/Ice/ProxyFactory.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/src/Ice/ProxyFactory.cpp b/cpp/src/Ice/ProxyFactory.cpp
index 723442c30fa..4e5b67217fd 100644
--- a/cpp/src/Ice/ProxyFactory.cpp
+++ b/cpp/src/Ice/ProxyFactory.cpp
@@ -125,7 +125,11 @@ IceInternal::ProxyFactory::checkRetryAfterException(const LocalException& ex,
// We retry ObjectNotExistException if the reference is
// indirect.
//
- li->clearObjectCache(ref);
+
+ if(ref->isWellKnown())
+ {
+ li->clearCache(ref);
+ }
}
else if(ref->getRouterInfo() && one->operation == "ice_add_proxy")
{