aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Http/Client/ClientService.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Http/Client/ClientService.php')
-rw-r--r--lib/private/Http/Client/ClientService.php3
1 files changed, 1 insertions, 2 deletions
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());
}