Changeset 32049d7 for apps/streaming


Ignore:
Timestamp:
Apr 19, 2015 2:49:13 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
b8c8d5b
Parents:
f0fdb35
Message:

I2CP Multisession - Work in progress:
Reuse LS encryption keypair from primary LS
Log tweaks

Location:
apps/streaming/java/src/net/i2p/client/streaming/impl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/streaming/java/src/net/i2p/client/streaming/impl/I2PSocketManagerFull.java

    rf0fdb35 r32049d7  
    162162    public I2PSession addSubsession(InputStream privateKeyStream, Properties opts) throws I2PSessionException {
    163163        if (privateKeyStream == null) {
     164            // We don't actually need the same pubkey in the dest, just in the LS.
     165            // The dest one is unused. But this is how we find the LS keys
     166            // to reuse in RequestLeaseSetMessageHandler.
    164167            ByteArrayOutputStream keyStream = new ByteArrayOutputStream(1024);
    165168            try {
  • apps/streaming/java/src/net/i2p/client/streaming/impl/Packet.java

    rf0fdb35 r32049d7  
    807807        if (isFlagSet(FLAG_PROFILE_INTERACTIVE)) buf.append(" INTERACTIVE");
    808808        if (isFlagSet(FLAG_RESET)) buf.append(" RESET");
    809         if (isFlagSet(FLAG_SIGNATURE_INCLUDED)) buf.append(" SIG");
     809        if (isFlagSet(FLAG_SIGNATURE_INCLUDED)) buf.append(" SIG ").append(_optionSignature.length());
    810810        if (isFlagSet(FLAG_SIGNATURE_REQUESTED)) buf.append(" SIGREQ");
    811811        if (isFlagSet(FLAG_SYNCHRONIZE)) buf.append(" SYN");
Note: See TracChangeset for help on using the changeset viewer.