Skip to content
Snippets Groups Projects
Commit ddce258b authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Modified to use http proxy if configured

parent fe83a72e
No related branches found
No related tags found
2 merge requests!1502Development,!1496Resolve "Use a proxy"
......@@ -157,7 +157,7 @@ class RequestFetcher extends Command
curl_setopt($ch, CURLOPT_PROXY, $this->proxyhost);
curl_setopt($ch, CURLOPT_PROXYUSERPWD, $this->proxyuser . ":" . $this->proxypassword);
curl_setopt($ch, CURLOPT_PROXYPORT, $this->proxyport);
curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
}
if (!empty($job["username"]) && !empty($job["password"])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment