summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2008-08-21 13:22:22 +0000
committerMartin Ritchie <ritchiem@apache.org>2008-08-21 13:22:22 +0000
commit48c6f80d5cb49715256d1e192c0ab13fcea3d245 (patch)
tree2416450b0948458ed1e75fefc5c45d2055c5232f
parentc96066c15fe3544b71d4a7e27d11695d38499104 (diff)
downloadqpid-python-48c6f80d5cb49715256d1e192c0ab13fcea3d245.tar.gz
Sorry went crazy with git and didn't meant to commit this change
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@687749 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/java/broker/src/main/java/org/apache/qpid/server/protocol/AMQMinaProtocolSession.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/qpid/java/broker/src/main/java/org/apache/qpid/server/protocol/AMQMinaProtocolSession.java b/qpid/java/broker/src/main/java/org/apache/qpid/server/protocol/AMQMinaProtocolSession.java
index aec032bb54..239d9d8822 100644
--- a/qpid/java/broker/src/main/java/org/apache/qpid/server/protocol/AMQMinaProtocolSession.java
+++ b/qpid/java/broker/src/main/java/org/apache/qpid/server/protocol/AMQMinaProtocolSession.java
@@ -230,8 +230,7 @@ public class AMQMinaProtocolSession implements AMQProtocolSession, Managable
_logger.info("Channel[" + channelId + "] awaiting closure. Should close socket as client did not close-ok :" + frame);
}
-
-// closeProtocolSession();
+ closeProtocolSession();
return;
}
}
@@ -273,7 +272,7 @@ public class AMQMinaProtocolSession implements AMQProtocolSession, Managable
}
catch (AMQException e)
{
- _logger.info("Received incorrect protocol initiation:" + e.getMessage());
+ _logger.error("Received incorrect protocol initiation", e);
_minaProtocolSession.write(new ProtocolInitiation(ProtocolVersion.getLatestSupportedVersion()));
@@ -357,7 +356,7 @@ public class AMQMinaProtocolSession implements AMQProtocolSession, Managable
_logger.error("Unexpected exception while processing frame. Closing connection.", e);
-// closeProtocolSession();
+ closeProtocolSession();
}
}