summaryrefslogtreecommitdiff
path: root/java/src/Ice/ConnectionI.java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2014-07-21 11:16:00 +0200
committerBenoit Foucher <benoit@zeroc.com>2014-07-21 11:16:00 +0200
commit6a50ea5b6b2869925172a68bd3337f2f6832b8b5 (patch)
tree1c95012fcb155dbf92def98ed6a3c0280cc325b3 /java/src/Ice/ConnectionI.java
parentICE-5316 added pos method to BasicStream that works for both read/write (diff)
downloadice-6a50ea5b6b2869925172a68bd3337f2f6832b8b5.tar.bz2
ice-6a50ea5b6b2869925172a68bd3337f2f6832b8b5.tar.xz
ice-6a50ea5b6b2869925172a68bd3337f2f6832b8b5.zip
Fixed race condition which could cause request to be dispatched even if the connection was just put on hold
Diffstat (limited to 'java/src/Ice/ConnectionI.java')
-rw-r--r--java/src/Ice/ConnectionI.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/java/src/Ice/ConnectionI.java b/java/src/Ice/ConnectionI.java
index fd8a387a52d..b84064da6ba 100644
--- a/java/src/Ice/ConnectionI.java
+++ b/java/src/Ice/ConnectionI.java
@@ -1168,6 +1168,11 @@ public final class ConnectionI extends IceInternal.EventHandler implements Conne
return;
}
+ if(!current.ioReady())
+ {
+ return;
+ }
+
int readyOp = current.operation;
try
{