summaryrefslogtreecommitdiff
path: root/java/src/Ice/ObjectPrxHelperBase.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/Ice/ObjectPrxHelperBase.java')
-rw-r--r--java/src/Ice/ObjectPrxHelperBase.java14
1 files changed, 9 insertions, 5 deletions
diff --git a/java/src/Ice/ObjectPrxHelperBase.java b/java/src/Ice/ObjectPrxHelperBase.java
index d5b62a80522..4419cbefe5e 100644
--- a/java/src/Ice/ObjectPrxHelperBase.java
+++ b/java/src/Ice/ObjectPrxHelperBase.java
@@ -600,13 +600,17 @@ public class ObjectPrxHelperBase implements ObjectPrx
{
}
- if(ice_isBatchOneway() || ice_isBatchDatagram())
+ if(ice_isOneway() || ice_isBatchOnway())
{
//
- // We do not retry batch requests (except for problems
- // during connection establishment, which are not handled
- // here anyway). If we retry a batch request, previous
- // requests from the same batch are silently thrown away.
+ // We do not retry oneway or batch oneway requests (except
+ // for problems during connection establishment, which are
+ // not handled here anyway). If we retry a oneway or batch
+ // oneway, previous oneways from the same batch, or
+ // previous oneways that are buffered by the IP stack
+ // implementation, are silently thrown away. This can lead
+ // to a situation where the latest oneway succeeds due to
+ // retry, but former oneways are discarded.
//
throw ex;
}