1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-17 08:54:49 +02: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();
}
}