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

eliminate 'data->state.ssl_scache' #16261

Closed
wants to merge 1 commit into from

Conversation

icing
Copy link
Contributor

@icing icing commented Feb 8, 2025

Keeping the relevant 'ssl_scache' in 'data->state' leads to problems when the owner of the cache is cleaned up and this reference is left dangling.

Remove the ref entirely and always find the ssl_scache at the curren share or multi.

Folded in #16260 to verify this fixes the bug with a dangling reference when an easy handle is used with easy_perform first and in a multi_perform after.

refs #16236

Keeping the relevant 'ssl_scache' in 'data->state' leads to
problems when the owner of the cache is cleaned up and this
reference is left dangling.

Remove the ref entirely and always find the ssl_scache at
the curren share or multi.

Folded in curl#16260 to verify this fixes the bug with a dangling
reference when an easy handle is used with easy_perform first
and in a multi_perform after.

refs curl#16236
@github-actions github-actions bot added the tests label Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants