mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 04:22:40 +00:00
NTCP: Call afterSend() for multiple messages in NTCP2 (ticket #2769)
This commit is contained in:
1 parent
d402300dba
commit
8a10c3a097
1 file changed
+1
@@ -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