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 b27a041 commit 125df68Copy full SHA for 125df68
src/Bolt/BoltConnectionPool.php
@@ -52,7 +52,7 @@ private function enableSsl(string $host, string $sslConfig, StreamSocket $sock):
52
// Pass a standard option to enable ssl as there is no direct flag
53
// and \Bolt\Bolt only turns on ssl if an option is passed.
54
$options = ['verify_peer' => true];
55
- if (filter_var($host, FILTER_VALIDATE_IP)) {
+ if (!filter_var($host, FILTER_VALIDATE_IP)) {
56
$options['SNI_enabled'] = true;
57
}
58
if ($sslConfig === 's') {
0 commit comments