mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-24 23:32:05 +01:00
tcp: do not flush after writing the SM ack
There is no need to flush here, as writePackets() will eventually flush the data out.
This commit is contained in:
parent
bfff412112
commit
51b167c0d4
1 changed files with 0 additions and 1 deletions
|
@ -1445,7 +1445,6 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
|||
// from the server in order to drain it
|
||||
if (unacknowledgedStanzas.size() == UNACKKNOWLEDGED_STANZAS_QUEUE_SIZE_HIGH_WATER_MARK) {
|
||||
writer.write(AckRequest.INSTANCE.toXML().toString());
|
||||
writer.flush();
|
||||
}
|
||||
try {
|
||||
// It is important the we put the stanza in the unacknowledged stanza
|
||||
|
|
Loading…
Reference in a new issue