Add comment about Stream Management's unacked stanzas queue
This commit is contained in:
parent
33cf205bdc
commit
7897fca876
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue