Commit 619cf8e9 authored by Matthew Finkel's avatar Matthew Finkel Committed by Georg Koppen
Browse files

Bug 30518 - Add SocksPort flags for consistency across platforms

parent f8a08034
diff --git a/universal/src/main/java/com/msopentech/thali/toronionproxy/TorConfigBuilder.java b/universal/src/main/java/com/msopentech/thali/toronionproxy/TorConfigBuilder.java
index 731fb3e..e0d0c42 100644
--- a/universal/src/main/java/com/msopentech/thali/toronionproxy/TorConfigBuilder.java
+++ b/universal/src/main/java/com/msopentech/thali/toronionproxy/TorConfigBuilder.java
@@ -395,6 +395,9 @@ public final class TorConfigBuilder {
if (!isNullOrEmpty(isolationFlag)) {
buffer.append(" ").append(isolationFlag);
}
+ buffer.append(" KeepAliveIsolateSOCKSAuth");
+ buffer.append(" IPv6Traffic");
+ buffer.append(" PreferIPv6");
buffer.append('\n');
return this;
}
......@@ -19,6 +19,7 @@ tar -C /var/tmp/build -xf [% project %]-[% c('version') %].tar.gz
# Patch projects
cd /var/tmp/build/[% project %]-[% c('version') %]
patch -p1 < $rootdir/maven-repo.patch
patch -p1 < $rootdir/add_socks_port_flags.patch
# Build Android Libraries and Apps
$GRADLE_HOME/gradle-4.1/bin/gradle --offline -P androidplugin=3.0.1 assembleRelease -x lint
......
......@@ -29,3 +29,4 @@ input_files:
name: gradle-dependencies
exec: '[% INCLUDE "fetch-gradle-dependencies" %]'
- filename: maven-repo.patch
- filename: add_socks_port_flags.patch
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment