activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1331577 - /activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala
Date Fri, 27 Apr 2012 20:24:46 GMT
Author: chirino
Date: Fri Apr 27 20:24:46 2012
New Revision: 1331577

URL: http://svn.apache.org/viewvc?rev=1331577&view=rev
Log:
Deep copy the id to avoid holding onto a large buffer.

Modified:
    activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala

Modified: activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala?rev=1331577&r1=1331576&r2=1331577&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala
Fri Apr 27 20:24:46 2012
@@ -1234,7 +1234,7 @@ class StompProtocolHandler extends Proto
       if( protocol_version eq V1_0 ) {
           // in 1.0 it's ok if the client does not send us the
           // the id header
-          dest
+          dest.deepCopy()
         } else {
           die("The id header is missing from the SUBSCRIBE frame");
         }



Mime
View raw message