I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 8a10c3a0 authored by zzz's avatar zzz
Browse files

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

parent d402300d
No related branches found
No related tags found
No related merge requests found
...@@ -905,6 +905,7 @@ public class NTCPConnection implements Closeable { ...@@ -905,6 +905,7 @@ public class NTCPConnection implements Closeable {
break; break;
} }
if (msg.getExpiration() >= now) { if (msg.getExpiration() >= now) {
_currentOutbound.add(msg);
block = new NTCP2Payload.I2NPBlock(m); block = new NTCP2Payload.I2NPBlock(m);
blocks.add(block); blocks.add(block);
size += NTCP2Payload.BLOCK_HEADER_SIZE + msz; size += NTCP2Payload.BLOCK_HEADER_SIZE + msz;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment