Commit aa9fb866 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Do not close CM connection when client performs "invalid" operation. JM-995

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@7437 b35dd754-fafc-0310-a699-88a17e54d16e
parent 56aab80a
......@@ -24,7 +24,6 @@ import org.xmpp.packet.Message;
import org.xmpp.packet.Packet;
import org.xmpp.packet.PacketError;
import java.io.UnsupportedEncodingException;
import java.util.List;
/**
......@@ -170,7 +169,7 @@ public class MultiplexerPacketHandler {
"http://jabber.org/protocol/connectionmanager#errors"));
sendErrorPacket(route, PacketError.Condition.bad_request, extraError);
}
catch (UnsupportedEncodingException e) {
catch (Exception e) {
Log.error("Error processing wrapped packet: " + route.getChildElement().asXML(), e);
sendErrorPacket(route, PacketError.Condition.internal_server_error, null);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment