summaryrefslogtreecommitdiff
path: root/lib/backend.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2024-06-24 17:15:54 -0400
committerlolcat <will@lolcat.ca>2024-06-24 17:15:54 -0400
commit640d1d1953669115dc67dfdaf86998401a9bfac4 (patch)
treee3098adba86d9868b96f43ec6be4d81c7a387f60 /lib/backend.php
parent75003b6617c1a828fb871c3f76da415b3ce0b455 (diff)
fixed nasty brave bug
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;