forked from I2P_Developers/i2p.i2p
2005-09-04 jrandom
* Don't persist peer profiles until we are shutting down, as the persistence process gobbles RAM and wall time. * Bugfix to allow you to check/uncheck the sharedClient setting on the I2PTunnel web interface. * Be more careful when expiring a failed tunnel message fragment so we don't drop the data while attempting to read it.
This commit is contained in:
@ -353,6 +353,8 @@ public class FragmentHandler {
|
||||
_completed++;
|
||||
try {
|
||||
byte data[] = msg.toByteArray();
|
||||
if (msg == null)
|
||||
return;
|
||||
if (_log.shouldLog(Log.DEBUG))
|
||||
_log.debug("RECV(" + data.length + "): " + Base64.encode(data)
|
||||
+ " " + _context.sha().calculateHash(data).toBase64());
|
||||
|
Reference in New Issue
Block a user