Skip to content

Commit 40135b7

Browse files
committed
improve curl default options
1 parent f702a88 commit 40135b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CurlHttpClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public function __construct(array $options = [])
4444
CURLOPT_FOLLOWLOCATION => true,
4545
CURLOPT_RETURNTRANSFER => true,
4646
CURLOPT_SSL_VERIFYPEER => false,
47+
CURLOPT_SSL_VERIFYHOST => false,
4748
CURLOPT_HTTPGET => true,
4849
];
4950

0 commit comments

Comments
 (0)