NTCP: Call afterSend() for multiple messages in NTCP2 (ticket #2769)

This commit is contained in:
zzz
2020-09-08 13:17:46 +00:00
parent d402300dba
commit 8a10c3a097

View File

@ -905,6 +905,7 @@ public class NTCPConnection implements Closeable {
break;
}
if (msg.getExpiration() >= now) {
_currentOutbound.add(msg);
block = new NTCP2Payload.I2NPBlock(m);
blocks.add(block);
size += NTCP2Payload.BLOCK_HEADER_SIZE + msz;