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

Skip to content
Snippets Groups Projects
Commit 7feb97e4 authored by zzz's avatar zzz
Browse files

more info than just nuh uh

parent 69575262
No related branches found
No related tags found
No related merge requests found
......@@ -1027,7 +1027,7 @@ public class NTCPConnection implements FIFOBandwidthLimiter.CompleteListener {
_curReadState.receiveBlock(_decryptBlockBuf);
if (_curReadState.getSize() > 16*1024) {
if (_log.shouldLog(Log.ERROR))
_log.error("i2np message more than 16KB? nuh uh: " + _curReadState.getSize());
_log.error("I2NP message too big - size: " + _curReadState.getSize() + " Dropping " + toString());
_context.statManager().addRateData("ntcp.corruptTooLargeI2NP", _curReadState.getSize(), getUptime());
close();
return false;
......
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