summaryrefslogtreecommitdiff
path: root/main/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui')
-rw-r--r--main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java b/main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java
index c250dc5e..419f49e2 100644
--- a/main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java
+++ b/main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java
@@ -108,6 +108,18 @@ public class OpenVPNThreadv3 extends ClientAPI_OpenVPNClient implements Runnable
}
@Override
+ public boolean tun_builder_set_proxy_http(String host, int port)
+ {
+ return mService.addHttpProxy(host, port);
+ }
+
+ @Override
+ public boolean tun_builder_set_proxy_https(String host, int port)
+ {
+ return false;
+ }
+
+ @Override
public int tun_builder_establish() {
return mService.openTun().detachFd();
}
@@ -271,6 +283,7 @@ public class OpenVPNThreadv3 extends ClientAPI_OpenVPNClient implements Runnable
public void setPauseCallback(PausedStateCallback callback) {
}
+
@Override
public void sendCRResponse(String response) {
post_cc_msg("CR_RESPONSE," + response + "\n");