commit 051cce472c98ca6ff0f202d515280ccfc11cb28d Author: Nathan Freitas nathan@freitas.net Date: Fri Jun 6 14:40:11 2014 -0400
don't allow the tor control port socket to timeout --- src/org/torproject/android/service/TorService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/org/torproject/android/service/TorService.java b/src/org/torproject/android/service/TorService.java index 0bce507..4640362 100644 --- a/src/org/torproject/android/service/TorService.java +++ b/src/org/torproject/android/service/TorService.java @@ -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;
tor-commits@lists.torproject.org