add_socks_port_flags.patch 743 B

123456789101112131415
  1. diff --git a/universal/src/main/java/com/msopentech/thali/toronionproxy/TorConfigBuilder.java b/universal/src/main/java/com/msopentech/thali/toronionproxy/TorConfigBuilder.java
  2. index 731fb3e..e0d0c42 100644
  3. --- a/universal/src/main/java/com/msopentech/thali/toronionproxy/TorConfigBuilder.java
  4. +++ b/universal/src/main/java/com/msopentech/thali/toronionproxy/TorConfigBuilder.java
  5. @@ -395,6 +395,9 @@ public final class TorConfigBuilder {
  6. if (!isNullOrEmpty(isolationFlag)) {
  7. buffer.append(" ").append(isolationFlag);
  8. }
  9. + buffer.append(" KeepAliveIsolateSOCKSAuth");
  10. + buffer.append(" IPv6Traffic");
  11. + buffer.append(" PreferIPv6");
  12. buffer.append('\n');
  13. return this;
  14. }