diff --git a/external/jtorctl b/external/jtorctl index 319377b3..9f8affff 160000 --- a/external/jtorctl +++ b/external/jtorctl @@ -1 +1 @@ -Subproject commit 319377b33117035155715b9207a7b41cbacef3a7 +Subproject commit 9f8affffbb03737b5606212c3ade9a1114df755f diff --git a/src/org/torproject/android/service/TorService.java b/src/org/torproject/android/service/TorService.java index 2736fbe4..46d37a13 100644 --- a/src/org/torproject/android/service/TorService.java +++ b/src/org/torproject/android/service/TorService.java @@ -1020,7 +1020,10 @@ public class TorService extends Service implements TorServiceConstants, TorConst torConnSocket = new Socket(IP_LOCALHOST, controlPort); torConnSocket.setSoTimeout(CONTROL_SOCKET_TIMEOUT); - conn = TorControlConnection.getConnection(torConnSocket); + boolean oo = true; + + conn = new TorControlConnection(torConnSocket); + conn.launchThread(true);//is daemon logNotice( "SUCCESS connected to Tor control port");