forked from I2P_Developers/i2p.i2p
HTTP Proxy: Add delay before jump page
This commit is contained in:
@ -1198,6 +1198,10 @@ public class I2PTunnelHTTPClient extends I2PTunnelHTTPClientBase implements Runn
|
||||
if(jumpServers == null) {
|
||||
jumpServers = DEFAULT_JUMP_SERVERS;
|
||||
}
|
||||
int jumpDelay = 400 + _context.random().nextInt(256);
|
||||
try {
|
||||
Thread.sleep(jumpDelay);
|
||||
} catch (InterruptedException ie) {}
|
||||
}
|
||||
try {
|
||||
writeErrorMessage(header, extraMessage, out, targetRequest, usingWWWProxy, destination, jumpServers);
|
||||
|
@ -1,3 +1,6 @@
|
||||
2017-04-26 zzz
|
||||
* HTTP Proxy: Add delay before jump page
|
||||
|
||||
2017-04-14 zzz
|
||||
* SSU:
|
||||
- Reuse previous introducer expiration if available,
|
||||
|
@ -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 = 17;
|
||||
public final static long BUILD = 18;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "-rc";
|
||||
|
Reference in New Issue
Block a user