You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kf...@apache.org on 2017/02/02 08:02:52 UTC
svn commit: r1781356 - in /tomcat/tc7.0.x/trunk:
java/org/apache/catalina/tribes/group/RpcChannel.java
webapps/docs/changelog.xml
Author: kfujino
Date: Thu Feb 2 08:02:51 2017
New Revision: 1781356
URL: http://svn.apache.org/viewvc?rev=1781356&view=rev
Log:
Ensure that NoRpcChannelReply messages are not received on RpcCallback.
Modified:
tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/group/RpcChannel.java
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/group/RpcChannel.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/group/RpcChannel.java?rev=1781356&r1=1781355&r2=1781356&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/group/RpcChannel.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/group/RpcChannel.java Thu Feb 2 08:02:51 2017
@@ -111,7 +111,8 @@ public class RpcChannel implements Chann
if ( rmsg.reply ) {
RpcCollector collector = responseMap.get(key);
if (collector == null) {
- callback.leftOver(rmsg.message, sender);
+ if (!(rmsg instanceof RpcMessage.NoRpcChannelReply))
+ callback.leftOver(rmsg.message, sender);
} else {
synchronized (collector) {
//make sure it hasn't been removed
Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1781356&r1=1781355&r2=1781356&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Thu Feb 2 08:02:51 2017
@@ -91,6 +91,14 @@
</fix>
</changelog>
</subsection>
+ <subsection name="Tribes">
+ <changelog>
+ <fix>
+ Ensure that <code>NoRpcChannelReply</code> messages are not received on
+ <code>RpcCallback</code>. (kfujino)
+ </fix>
+ </changelog>
+ </subsection>
<subsection name="Other">
<changelog>
<fix>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org