don't allow the tor control port socket to timeout

This commit is contained in:
Nathan Freitas 2014-06-06 14:40:11 -04:00
parent f4baf4d6bb
commit 051cce472c
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ public class TorService extends Service implements TorServiceConstants, TorConst
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 Socket torConnSocket = null;