Skip to content

multi: make add_handle free any multi_easy - #12992

Closed
bagder wants to merge 4 commits into
masterfrom
bagder/add-handle-kill-easy-multi
Closed

bagder wants to merge 4 commits into
masterfrom
bagder/add-handle-kill-easy-multi

Conversation

@bagder

@bagder bagder commented Feb 26, 2024

Copy link
Copy Markdown
Member

If the easy handle that is being added to a multi handle has previously been used for curl_easy_perform(), there is a private multi handle here that we can kill off. While it flushes some caches etc for the easy handle would it be used for an easy interface transfer again after being used in the multi stack, this cleanup simplifies behavior and uses less memory.

If the easy handle that is being added to a multi handle has previously
been used for curl_easy_perform(), there is a private multi handle here
that we can kill off. While it flushes some caches etc for the easy
handle would it be used for an easy interface transfer again after being
used in the multi stack, this cleanup simplifies behavior and uses less
memory.
@bagder

bagder commented Feb 26, 2024

Copy link
Copy Markdown
Member Author

any thoughts on this @jay ?

@bagder bagder closed this in 757dfdf Feb 27, 2024
@bagder
bagder deleted the bagder/add-handle-kill-easy-multi branch February 27, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant