forked from I2P_Developers/i2p.i2p
toString() for logging
This commit is contained in:
@@ -736,4 +736,16 @@ abstract class I2PSessionImpl implements I2PSession, I2CPMessageReader.I2CPMessa
|
||||
SimpleScheduler.getInstance().addEvent(new SessionIdleTimer(_context, this, reduce, close), SessionIdleTimer.MINIMUM_TIME);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder buf = new StringBuilder(32);
|
||||
buf.append("Session: ");
|
||||
if (_myDestination != null)
|
||||
buf.append(_myDestination.calculateHash().toBase64().substring(0, 4));
|
||||
else
|
||||
buf.append("[null dest]");
|
||||
buf.append(getPrefix());
|
||||
return buf.toString();
|
||||
}
|
||||
}
|
||||
|
||||
15
history.txt
15
history.txt
@@ -1,3 +1,18 @@
|
||||
2010-04-08 zzz
|
||||
* Key Manager: Hopefully avoid some races at startup
|
||||
http://forum.i2p/viewtopic.php?t=4424
|
||||
* OCMOSJ:
|
||||
- Increase min timeout
|
||||
- Logging tweaks
|
||||
* Streaming:
|
||||
- Detect and drop dup SYNs rather than create
|
||||
a duplicate connection - will hopefully fix
|
||||
"Received a syn with the wrong IDs"
|
||||
- Send reset for a SYN ACK with the wrong IDs
|
||||
- Don't send a reset to a null dest
|
||||
- Logging tweaks
|
||||
- Cleanups
|
||||
|
||||
2010-04-05 zzz
|
||||
* Console:
|
||||
- Add tooltip support for plugin links
|
||||
|
||||
@@ -18,7 +18,7 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 6;
|
||||
public final static long BUILD = 7;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "";
|
||||
|
||||
Reference in New Issue
Block a user