forked from I2P_Developers/i2p.i2p
lets default the read timeout to 5 minutes for clients (that hanging irc disconnect / not disconnected thing)
This commit is contained in:
@@ -17,7 +17,7 @@ public class I2PTunnelClient extends I2PTunnelClientBase {
|
|||||||
private static final Log _log = new Log(I2PTunnelClient.class);
|
private static final Log _log = new Log(I2PTunnelClient.class);
|
||||||
|
|
||||||
protected Destination dest;
|
protected Destination dest;
|
||||||
private static final long DEFAULT_READ_TIMEOUT = -1; // 3*60*1000;
|
private static final long DEFAULT_READ_TIMEOUT = 5*60*1000; // -1
|
||||||
protected long readTimeout = DEFAULT_READ_TIMEOUT;
|
protected long readTimeout = DEFAULT_READ_TIMEOUT;
|
||||||
|
|
||||||
public I2PTunnelClient(int localPort, String destination, Logging l, boolean ownDest, EventDispatcher notifyThis) {
|
public I2PTunnelClient(int localPort, String destination, Logging l, boolean ownDest, EventDispatcher notifyThis) {
|
||||||
|
Reference in New Issue
Block a user