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:
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
|
// sending a closing stream element first. This means that the
|
||||||
// server wants to terminate the session, therefore disconnect
|
// server wants to terminate the session, therefore disconnect
|
||||||
// the connection
|
// the connection
|
||||||
|
LOGGER.info(XMPPTCPConnection.this
|
||||||
|
+ " received closing </stream> element."
|
||||||
|
+ " Server wants to terminate the connection, calling disconnect()");
|
||||||
disconnect();
|
disconnect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue