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 09a4267..00161a6 100644
--- a/lib/backend.php
+++ b/lib/backend.php
@@ -74,6 +74,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;