Log when server sends closing stream element

This commit is contained in:
Florian Schmaus 2015-06-12 12:30:36 +02:00
parent 3875664128
commit 72972dad82
1 changed files with 3 additions and 0 deletions

View File

@ -1112,6 +1112,9 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
// sending a closing stream element first. This means that the
// server wants to terminate the session, therefore disconnect
// the connection
LOGGER.info(XMPPTCPConnection.this
+ " received closing </stream> element."
+ " Server wants to terminate the connection, calling disconnect()");
disconnect();
}
}