diff options
author | szaimen <szaimen@e.mail.de> | 2022-07-01 20:30:35 +0200 |
---|---|---|
committer | szaimen <szaimen@e.mail.de> | 2022-07-01 22:52:10 +0200 |
commit | 2ad53742f209294eced274366b7b80c17f34d15c (patch) | |
tree | 9999a6a3796daeab5adb1629173357e4c1cf8510 /lib/private/Http | |
parent | 6222b702db03d7bf08bd80c760fdaca3c0167db5 (diff) | |
download | nextcloud-server-2ad53742f209294eced274366b7b80c17f34d15c.tar.gz nextcloud-server-2ad53742f209294eced274366b7b80c17f34d15c.zip |
fix external storages access
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'lib/private/Http')
-rw-r--r-- | lib/private/Http/Client/ClientService.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/private/Http/Client/ClientService.php b/lib/private/Http/Client/ClientService.php index e868d4af7a5..8484f2e80e6 100644 --- a/lib/private/Http/Client/ClientService.php +++ b/lib/private/Http/Client/ClientService.php @@ -28,7 +28,6 @@ namespace OC\Http\Client; use GuzzleHttp\Client as GuzzleClient; use GuzzleHttp\HandlerStack; -use GuzzleHttp\Handler\CurlHandler; use OCP\Http\Client\IClient; use OCP\Http\Client\IClientService; use OCP\ICertificateManager; @@ -63,8 +62,7 @@ class ClientService implements IClientService { * @return Client */ public function newClient(): IClient { - $handler = new CurlHandler(); - $stack = HandlerStack::create($handler); + $stack = HandlerStack::create(); $stack->push($this->dnsPinMiddleware->addDnsPinning()); $client = new GuzzleClient(['handler' => $stack]); |