Changeset 4283d71 for core


Ignore:
Timestamp:
Jan 13, 2019 1:14:58 PM (23 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
cf27938
Parents:
10f2d83
Message:

I2CP: Set LS2 unpublished bit, show in debug output

Location:
core/java/src/net/i2p
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/client/impl/RequestLeaseSetMessageHandler.java

    r10f2d83 r4283d71  
    129129              return;
    130130            }
     131            if (Boolean.parseBoolean(session.getOptions().getProperty("i2cp.dontPublishLeaseSet")))
     132                ((LeaseSet2)leaseSet).setUnpublished();
    131133        } else {
    132134            leaseSet = new LeaseSet();
  • core/java/src/net/i2p/client/impl/RequestVariableLeaseSetMessageHandler.java

    r10f2d83 r4283d71  
    5454              return;
    5555            }
     56            if (Boolean.parseBoolean(session.getOptions().getProperty("i2cp.dontPublishLeaseSet")))
     57                ((LeaseSet2)leaseSet).setUnpublished();
    5658        } else {
    5759            leaseSet = new LeaseSet();
  • core/java/src/net/i2p/data/EncryptedLeaseSet.java

    r10f2d83 r4283d71  
    299299            buf.append("\n\tOffline Signature: ").append(_offlineSignature);
    300300        }
     301        buf.append("\n\tUnpublished? ").append(isUnpublished());
    301302        buf.append("\n\tSignature: ").append(_signature);
    302303        buf.append("\n\tPublished: ").append(new java.util.Date(_published));
  • core/java/src/net/i2p/data/LeaseSet2.java

    r10f2d83 r4283d71  
    541541            }
    542542        }
     543        buf.append("\n\tUnpublished? ").append(isUnpublished());
    543544        buf.append("\n\tSignature: ").append(_signature);
    544545        buf.append("\n\tPublished: ").append(new java.util.Date(_published));
  • core/java/src/net/i2p/data/MetaLeaseSet.java

    r10f2d83 r4283d71  
    172172            }
    173173        }
     174        buf.append("\n\tUnpublished? ").append(isUnpublished());
    174175        buf.append("\n\tSignature: ").append(_signature);
    175176        buf.append("\n\tPublished: ").append(new java.util.Date(_published));
Note: See TracChangeset for help on using the changeset viewer.