mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-21 19:42:05 +01:00
Add comment about dropping SM state on stream errors.
Related to SMACK-696.
This commit is contained in:
parent
08c93da56a
commit
30861fb7ce
1 changed files with 2 additions and 0 deletions
|
@ -879,6 +879,8 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
|||
(packetWriter == null || packetWriter.done())) return;
|
||||
|
||||
// Closes the connection temporary. A reconnection is possible
|
||||
// Note that a connection listener of XMPPTCPConnection will drop the SM state in
|
||||
// case the Exception is a StreamErrorException.
|
||||
instantShutdown();
|
||||
|
||||
// Notify connection listeners of the error.
|
||||
|
|
Loading…
Reference in a new issue