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

disconnect: separate connections and easy handles better #3400

Merged
merged 3 commits into from Dec 22, 2018

Conversation

bagder
Copy link
Member

@bagder bagder commented Dec 20, 2018

Do not assume/store assocation between a given easy handle and the
connection if it can be avoided.

Long-term, the 'conn->data' pointer should probably be removed as it is a
little too error-prone. Still used very widely though.

Reported-by: masbug on github
Fixes #3391

@bagder
Copy link
Member Author

bagder commented Dec 21, 2018

Parts of the libssh fix is now in #3403 since it shouldn't be related to this work!

@bagder
Copy link
Member Author

bagder commented Dec 21, 2018

#3403 really needs to land first, then this third commit can be cleaned up and then I can continue on this PR.

Do not assume/store assocation between a given easy handle and the
connection if it can be avoided.

Long-term, the 'conn->data' pointer should probably be removed as it is a
little too error-prone. Still used very widely though.

Reported-by: masbug on github
Fixes #3391
Closes #3400
@bagder bagder force-pushed the bagder/connection-easy-detach branch from 6265d2a to c98ee5f Compare December 22, 2018 17:15
@bagder bagder merged commit c98ee5f into master Dec 22, 2018
@bagder bagder deleted the bagder/connection-easy-detach branch December 22, 2018 22:19
@lock lock bot locked as resolved and limited conversation to collaborators Mar 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant