hash caching

This commit is contained in:
zzz
2012-06-05 01:03:39 +00:00
parent 3f40487c99
commit 6a1b90f8f8
3 changed files with 12 additions and 12 deletions

View File

@@ -405,8 +405,8 @@ public class I2PSnarkUtil {
if (sess != null) {
byte[] b = Base32.decode(ip.substring(0, BASE32_HASH_LENGTH));
if (b != null) {
Hash h = new Hash(b);
//Hash h = Hash.create(b);
//Hash h = new Hash(b);
Hash h = Hash.create(b);
if (_log.shouldLog(Log.INFO))
_log.info("Using existing session for lookup of " + ip);
try {