Add PHP8 compatibility to v1.x (#177)

* Add PHP8 compatible requirements
* Readd DNS to allow resolving local shared domains
This commit is contained in:
Marcel Pociot authored and GitHub committed 2021-01-14 13:20:59 +01:00
1 parent ff232d9ef4
commit 2934731c7a
6 files changed
+2417 -1564

No files matched your search

+1
View File
@@ -66,6 +66,7 @@ class HttpClient
protected function createConnector(): Connector
{
return new Connector($this->loop, [
'dns' => '127.0.0.1',
'tls' => [
'verify_peer' => false,
'verify_peer_name' => false,