mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
connection: fixed really disabled proxy usage (related to #13549);
This commit is contained in:
parent
72f9d1b8cb
commit
c3b57f1973
1 changed files with 4 additions and 0 deletions
|
|
@ -129,6 +129,10 @@ public class XmageURLConnection {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.proxy = Proxy.NO_PROXY;
|
this.proxy = Proxy.NO_PROXY;
|
||||||
|
if (!PreferencesDialog.NETWORK_ENABLE_PROXY_SUPPORT) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (type != Proxy.Type.DIRECT) {
|
if (type != Proxy.Type.DIRECT) {
|
||||||
try {
|
try {
|
||||||
String address = PreferencesDialog.getCachedValue(PreferencesDialog.KEY_PROXY_ADDRESS, "");
|
String address = PreferencesDialog.getCachedValue(PreferencesDialog.KEY_PROXY_ADDRESS, "");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue