fixed nasty brave bug

This commit is contained in:
lolcat 2024-06-24 17:15:54 -04:00
parent 75003b6617
commit 640d1d1953
3 changed files with 9 additions and 5 deletions

View file

@ -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;