lets default the read timeout to 5 minutes for clients (that hanging irc disconnect / not disconnected thing)

This commit is contained in:
jrandom
2004-05-05 22:57:43 +00:00
committed by zzz
parent cdaeb4d176
commit e0e7211852

View File

@ -17,7 +17,7 @@ public class I2PTunnelClient extends I2PTunnelClientBase {
private static final Log _log = new Log(I2PTunnelClient.class);
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;
public I2PTunnelClient(int localPort, String destination, Logging l, boolean ownDest, EventDispatcher notifyThis) {