* I2CP: Fix deserialization of new RVLSM; enable by default

This commit is contained in:
zzz
2013-06-14 13:34:36 +00:00
parent a90827c9b2
commit 36e898d668
4 changed files with 11 additions and 3 deletions

View File

@@ -77,7 +77,7 @@ public class RequestVariableLeaseSetMessage extends I2CPMessageImpl {
@Override
protected void doReadMessage(InputStream in, int size) throws I2CPMessageException, IOException {
try {
if (_sessionId == null)
if (_sessionId != null)
throw new IllegalStateException();
_sessionId = new SessionId();
_sessionId.readBytes(in);

View File

@@ -1,3 +1,11 @@
2013-06-14 zzz
* I2CP: Fix deserialization of new RVLSM; enable by default
* i2psnark: Fix bug creating torrent with a single file in a directory
2013-06-12 zzz
* Console: Add missing jetty jars to classpath (ticket #952)
* I2PTunnel: Add advanced quantity options
2013-06-10 kytv
* Translations (from Transifex)
- Start of Turkish language translation

View File

@@ -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 = 8;
public final static long BUILD = 9;
/** for example "-test" */
public final static String EXTRA = "";

View File

@@ -38,7 +38,7 @@ class RequestLeaseSetJob extends JobImpl {
/** temp for testing */
private static final String PROP_VARIABLE = "router.variableLeaseExpiration";
private static final boolean DFLT_VARIABLE = false;
private static final boolean DFLT_VARIABLE = true;
public RequestLeaseSetJob(RouterContext ctx, ClientConnectionRunner runner, LeaseRequestState state) {
super(ctx);