Use our own SOCKS implementation to talk to Tor.

This commit is contained in:
akwizgran
2016-09-03 00:00:08 +01:00
parent 387e44d114
commit 74f9a0dd73
15 changed files with 289 additions and 62 deletions

View File

@@ -9,4 +9,5 @@ public interface TorConstants {
int SOCKS_PORT = 59050;
int CONTROL_PORT = 59051;
int CONNECT_TO_PROXY_TIMEOUT = 5000; // Milliseconds
}

View File

@@ -22,7 +22,6 @@ public interface DevReporter {
* Send reports previously stored on-disk.
*
* @param reportDir the directory where reports are stored.
* @param socksPort the SOCKS port of a Tor client.
*/
void sendReports(File reportDir, int socksPort);
void sendReports(File reportDir);
}