summaryrefslogtreecommitdiff
path: root/lib/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/backend.php')
-rw-r--r--lib/backend.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/backend.php b/lib/backend.php
index cfb04a9..7c450da 100644
--- a/lib/backend.php
+++ b/lib/backend.php
@@ -75,6 +75,7 @@ class backend{
break;
case "socks5_hostname":
+ case "socks5a":
curl_setopt($curlproc, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5_HOSTNAME);
curl_setopt($curlproc, CURLOPT_PROXY, $address . ":" . $port);
break;