Skip to content
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

tls: enable session ticket cache by default #393

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

dkropachev
Copy link
Collaborator

Fixes: #392
RFC: https://datatracker.ietf.org/doc/html/rfc5077

Enables TLS session ticket cache by default.

@mykaul
Copy link

mykaul commented Feb 19, 2025

But do we know how to use it when connecting to a different shard (in same node though) ?

@dkropachev
Copy link
Collaborator Author

But do we know how to use it when connecting to a different shard (in same node though) ?

Cache is going to be shared not only between shard connections, but also between any connections created by any session from the same ClusterConfig

@mykaul
Copy link

mykaul commented Feb 19, 2025

But do we know how to use it when connecting to a different shard (in same node though) ?

Cache is going to be shared not only between shard connections, but also between any connections created by any session from the same ClusterConfig

That's useless (I think), as the session ticket is not shared among nodes, just among shards within the same node.

@dkropachev
Copy link
Collaborator Author

But do we know how to use it when connecting to a different shard (in same node though) ?

Cache is going to be shared not only between shard connections, but also between any connections created by any session from the same ClusterConfig

That's useless (I think), as the session ticket is not shared among nodes, just among shards within the same node.

It comes naturally from how driver works with tls.Config and golang internals.

@dkropachev dkropachev merged commit e2627ca into scylladb:master Feb 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support TLS tickets for quick TLS renegotiation
3 participants