1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-25 07:42:06 +01:00

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

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();
}
}