activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1437427 - /activemq/trunk/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java
Date Wed, 23 Jan 2013 14:54:16 GMT
Author: chirino
Date: Wed Jan 23 14:54:15 2013
New Revision: 1437427

URL: http://svn.apache.org/viewvc?rev=1437427&view=rev
Log:
Fixes AMQ-4258: Endless loop when received incorrect AMQP message

Applied patch sumbitted by Robert Balent.  Many thanks!


Modified:
    activemq/trunk/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java

Modified: activemq/trunk/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java?rev=1437427&r1=1437426&r2=1437427&view=diff
==============================================================================
--- activemq/trunk/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java
(original)
+++ activemq/trunk/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java
Wed Jan 23 14:54:15 2013
@@ -159,6 +159,7 @@ class AmqpProtocolConverter {
                 frame.moveHead(count);
             } catch (Throwable e) {
                 handleException(new AmqpProtocolException("Could not decode AMQP frame: "
+ frame, true, e));
+                return;
             }
             try {
 



Mime
View raw message