Code: Select all
catch (XMLException xe) {
log.warning("Malformed XML request, MSG: " + msg + "\n From: " + ch.socket().getInetAddress());
log.warning("Disconnecting: " + ch.toString());
ConfigData.inComingDroppedMessages++;
lostConnection(ch);
}
Hello I wanted to edit a part of the code so I can kick the user who is doing XML flood
The flood is very large and ends up shutting down the server, no one else can enter.