1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 06:12:05 +01:00

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

View file

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