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

fix: skip saving to c.config.ClientSessionCache if it is nil #219

Merged
merged 1 commit into from
Aug 11, 2023
Merged

fix: skip saving to c.config.ClientSessionCache if it is nil #219

merged 1 commit into from
Aug 11, 2023

Conversation

gaukas
Copy link
Contributor

@gaukas gaukas commented Aug 10, 2023

This is a fix that patches one of the file from upstream (crypto/tls), by skipping saving to ClientSessionCache when it is not set in the Config, it allows TLS 1.2 connections to be established while client actively advertises session_ticket extension, without modifying configs from previous tagged versions.

Closes #218.

@gaukas gaukas mentioned this pull request Aug 11, 2023
@gaukas gaukas merged commit d74571a into refraction-networking:master Aug 11, 2023
6 checks passed
@gaukas gaukas deleted the fix-panic-on-nil-client-session-cache branch August 12, 2023 21:12
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.

panic on saveSessionTicket
1 participant