don't allow the tor control port socket to timeout
This commit is contained in:
parent
f4baf4d6bb
commit
051cce472c
|
@ -66,7 +66,7 @@ public class TorService extends Service implements TorServiceConstants, TorConst
|
||||||
|
|
||||||
private static int currentStatus = STATUS_OFF;
|
private static int currentStatus = STATUS_OFF;
|
||||||
|
|
||||||
private final static int CONTROL_SOCKET_TIMEOUT = 10000;
|
private final static int CONTROL_SOCKET_TIMEOUT = 0;
|
||||||
|
|
||||||
private TorControlConnection conn = null;
|
private TorControlConnection conn = null;
|
||||||
private Socket torConnSocket = null;
|
private Socket torConnSocket = null;
|
||||||
|
|
Loading…
Reference in New Issue