Changeset 0c15936 for router


Ignore:
Timestamp:
Jan 10, 2019 3:37:11 PM (17 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
5ca9802
Parents:
e02a0df
Message:

I2CP: Router-side fix for meta LS2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/client/ClientConnectionRunner.java

    re02a0df r0c15936  
    2727import net.i2p.client.I2PClient;
    2828import net.i2p.crypto.SessionKeyManager;
     29import net.i2p.data.DatabaseEntry;
    2930import net.i2p.data.Destination;
    3031import net.i2p.data.Hash;
     
    818819        synchronized (this) {
    819820            current = sp.currentLeaseSet;
    820             if (current != null && current.getLeaseCount() == leases) {
     821            // Skip this check for meta, for now, TODO
     822            if (current != null && current.getLeaseCount() == leases &&
     823                current.getType() != DatabaseEntry.KEY_TYPE_META_LS2) {
    821824                for (int i = 0; i < leases; i++) {
    822825                    if (! current.getLease(i).getTunnelId().equals(set.getLease(i).getTunnelId()))
Note: See TracChangeset for help on using the changeset viewer.