mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 11:42:26 +00:00
0.7.9, and:
* I2CP: Clean up resources on 5-minute leaseset timeout at startup
* Increase max floodfills to 9 (was 6)
* Temporarily disable routerInfo floodfill verifies
* Fix .fr eepsite index css
* Javdoc tweaks
This commit is contained in:
1 parent
b8339e72b0
commit
9f28c06e9e
13 files changed
+47
-29
No files matched your search
@@ -16,7 +16,7 @@ package net.i2p;
|
||||
public class CoreVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = "0.7.8";
|
||||
public final static String VERSION = "0.7.9";
|
||||
|
||||
public static void main(String args[]) {
|
||||
System.out.println("I2P Core version: " + VERSION);
|
||||
|
||||
@@ -289,8 +289,10 @@ abstract class I2PSessionImpl implements I2PSession, I2CPMessageReader.I2CPMessa
|
||||
if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix() + "After getDate / begin waiting for a response");
|
||||
int waitcount = 0;
|
||||
while (!_dateReceived) {
|
||||
if (waitcount++ > 30)
|
||||
if (waitcount++ > 30) {
|
||||
closeSocket();
|
||||
throw new IOException("no date handshake");
|
||||
}
|
||||
try {
|
||||
synchronized (_dateReceivedLock) {
|
||||
_dateReceivedLock.wait(1000);
|
||||
@@ -307,8 +309,13 @@ abstract class I2PSessionImpl implements I2PSession, I2CPMessageReader.I2CPMessa
|
||||
// wait until we have created a lease set
|
||||
waitcount = 0;
|
||||
while (_leaseSet == null) {
|
||||
if (waitcount++ > 5*60)
|
||||
if (waitcount++ > 5*60) {
|
||||
try {
|
||||
_producer.disconnect(this);
|
||||
} catch (I2PSessionException ipe) {}
|
||||
closeSocket();
|
||||
throw new IOException("no leaseset");
|
||||
}
|
||||
synchronized (_leaseSetWait) {
|
||||
try {
|
||||
_leaseSetWait.wait(1000);
|
||||
|
||||
Reference in new issue
Block a user