Skip to content

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

Merged
bdarnell merged 2 commits into
tornadoweb:masterfrom
bdarnell:curlreset
Jun 8, 2026
Merged

curl_httpclient: Reset the curl object before putting it on the freelist#3634
bdarnell merged 2 commits into
tornadoweb:masterfrom
bdarnell:curlreset

Conversation

@bdarnell

@bdarnell bdarnell commented Jun 8, 2026

Copy link
Copy Markdown
Member

No description provided.

bdarnell added 2 commits June 8, 2026 13:50
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 f491e4c into tornadoweb:master Jun 8, 2026
16 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