-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add preliminary TLS support - needs fleshing out #111
base: main
Are you sure you want to change the base?
Conversation
@Joannis Looking forward to this. It's required to connect to Elasticache Serverless clusters. Can we also add TLSConfiguration into the Configuration init? And worth noting I tested this branch as is and it works correctly on Elasticache |
@@ -200,7 +207,7 @@ extension RedisConnection { | |||
!scheme.isEmpty | |||
else { throw ValidationError.missingURLScheme } | |||
|
|||
guard scheme == "redis" else { throw ValidationError.invalidURLScheme } | |||
guard scheme == "redis" || scheme == "rediss" else { throw ValidationError.invalidURLScheme } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also add valkey
scheme?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where can I read more about valkey
being a scheme?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it completely compatible with redis?
@@ -200,7 +207,7 @@ extension RedisConnection { | |||
!scheme.isEmpty | |||
else { throw ValidationError.missingURLScheme } | |||
|
|||
guard scheme == "redis" else { throw ValidationError.invalidURLScheme } | |||
guard scheme == "redis" || scheme == "rediss" else { throw ValidationError.invalidURLScheme } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
guard scheme == "redis" || scheme == "rediss" else { throw ValidationError.invalidURLScheme } | |
guard scheme == "redis" || scheme == "rediss" || scheme == "valkey" else { throw ValidationError.invalidURLScheme } |
No description provided.