Fix "useless use of IPv6" in Tor socket

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.
This commit is contained in:
agb19 2019-06-03 10:08:46 +00:00 committed by GitHub
parent 428b3f5513
commit 9970571979
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
@ -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