Skip to content

curl_httpclient: Reset the curl object before putting it on the freelist#3633

Merged
bdarnell merged 2 commits into
tornadoweb:branch6.5from
bdarnell:curl-reset-65
Jun 8, 2026
Merged

curl_httpclient: Reset the curl object before putting it on the freelist#3633
bdarnell merged 2 commits into
tornadoweb:branch6.5from
bdarnell:curl-reset-65

Conversation

@bdarnell

@bdarnell bdarnell commented Jun 8, 2026

Copy link
Copy Markdown
Member

No description provided.

bdarnell added 2 commits June 8, 2026 12:54
We previously did a piecemeal reset of the curl object, but missed some
options (and in fact many of these options cannot be unset without
fully resetting the object). This allowed some options to leak between
requests.

Now we use the curl reset method to ensure we catch everything.
@bdarnell bdarnell merged commit 48fc2d4 into tornadoweb:branch6.5 Jun 8, 2026
15 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.

1 participant