Skip to content

Commit c553e1d

Browse files
vbotingnonpprkut
authored andcommitted
Support SSL
1 parent 7a9a8d6 commit c553e1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Redis.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public static function parseDsn($dsn)
223223
$parts = parse_url($dsn);
224224

225225
// Check the URI scheme
226-
$validSchemes = array('redis', 'tcp');
226+
$validSchemes = array('redis', 'rediss', 'tcp');
227227
if (isset($parts['scheme']) && ! in_array($parts['scheme'], $validSchemes)) {
228228
throw new InvalidArgumentException("Invalid DSN. Supported schemes are " . implode(', ', $validSchemes));
229229
}

0 commit comments

Comments
 (0)