forked from I2P_Developers/i2p.i2p
NTCP: Call afterSend() for multiple messages in NTCP2 (ticket #2769)
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user