From a173e1a756d1273db0c3c1897010f0d85b0afc60 Mon Sep 17 00:00:00 2001 From: Git'Fellow <12234510+solracsf@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:20:54 +0100 Subject: fix(http): Let Guzzle set the appropriate handler Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> --- lib/private/Http/Client/ClientService.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/private/Http/Client') diff --git a/lib/private/Http/Client/ClientService.php b/lib/private/Http/Client/ClientService.php index b719f3d369d..05c7e31ff93 100644 --- a/lib/private/Http/Client/ClientService.php +++ b/lib/private/Http/Client/ClientService.php @@ -55,8 +55,7 @@ class ClientService implements IClientService { * @return Client */ public function newClient(): IClient { - $handler = new CurlHandler(); - $stack = HandlerStack::create($handler); + $stack = HandlerStack::create(); if ($this->config->getSystemValueBool('dns_pinning', true)) { $stack->push($this->dnsPinMiddleware->addDnsPinning()); } -- cgit v1.2.3