Add comment about Stream Management's unacked stanzas queue

This commit is contained in:
Florian Schmaus 2015-02-18 11:59:45 +01:00
parent 33cf205bdc
commit 7897fca876
1 changed files with 2 additions and 0 deletions

View File

@ -1284,6 +1284,8 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
writer.flush();
}
try {
// It is important the we put the stanza in the unacknowledged stanza
// queue before we put it on the wire
unacknowledgedStanzas.put(packet);
}
catch (InterruptedException e) {