Skip to content

Commit de8de2a

Browse files
Fix condition to enable SSL
1 parent 9916e99 commit de8de2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bolt/BoltConnectionPool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function acquire(UriInterface $uri, AccessMode $mode): StreamSocket
4040
$explosion = explode('+', $scheme, 2);
4141
$sslConfig = $explosion[1] ?? '';
4242

43-
if (str_starts_with('s', $host)) {
43+
if (str_starts_with('s', $sslConfig)) {
4444
$this->enableSsl($host, $sslConfig, $socket);
4545
}
4646

0 commit comments

Comments
 (0)