Skip to content

Commit

Permalink
Fix "useless use of IPv6" in Tor socket
Browse files Browse the repository at this point in the history
Implements the "possible fix" described in issue #2840 by appending the directive `java.net.preferIPv4Stack=true` to the JVM options. 
Tested successfully on Debian 9 and Tails 3.14, using platform Tor and onion-grater.
  • Loading branch information
agb19 authored Jun 3, 2019
1 parent 428b3f5 commit 9970571
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions desktop/package/linux/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ $JAVA_HOME/bin/javapackager \
-srcfiles desktop-$version-all.jar \
-appclass bisq.desktop.app.BisqAppMain \
-BjvmOptions=-Xss1280k \
-BjvmOptions=-Djava.net.preferIPv4Stack=true \
-outfile Bisq-$version \
-v

Expand All @@ -133,6 +134,7 @@ $JAVA_HOME/bin/javapackager \
-srcfiles desktop-$version-all.jar \
-appclass bisq.desktop.app.BisqAppMain \
-BjvmOptions=-Xss1280k \
-BjvmOptions=-Djava.net.preferIPv4Stack=true \
-outfile Bisq-$version \
-v

Expand Down

0 comments on commit 9970571

Please sign in to comment.