We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c3dcd8 commit b5d0892Copy full SHA for b5d0892
src/Network/Bolt/BoltDriver.php
@@ -55,14 +55,6 @@ public function aquireSession(): SessionInterface
55
return $this->session;
56
}
57
58
- $url = $this->parsedUrl['host'];
59
- $isIP = (bool) ip2long($url);
60
- if (!$isIP) {
61
- $ip = gethostbyname($url);
62
- } else {
63
- $ip = $url;
64
- }
65
- $this->parsedUrl['host'] = $ip;
66
try {
67
$sock = new StreamSocket($this->parsedUrl['host'], $this->parsedUrl['port'] ?? self::DEFAULT_TCP_PORT);
68
$options = $this->injections->sslContextOptions();
0 commit comments