mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 03:52:06 +01:00
Log when server sends closing stream element
This commit is contained in:
parent
3875664128
commit
72972dad82
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue