From ddce258bcac9eac85c3745fc0b5b656f4f1d149e Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Tue, 28 Jan 2020 11:24:09 +0100
Subject: [PATCH] Modified to use http proxy if configured

---
 app/Console/Commands/RequestFetcher.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/Console/Commands/RequestFetcher.php b/app/Console/Commands/RequestFetcher.php
index c6e9e226a..3af939a7e 100644
--- a/app/Console/Commands/RequestFetcher.php
+++ b/app/Console/Commands/RequestFetcher.php
@@ -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"])) {
-- 
GitLab