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

urlapi: avoid Curl_dyn_addf() for hex outputs #10384

wants to merge 2 commits into from


Copy link

@bagder bagder commented Feb 1, 2023

inspired by the recent fixes to escape.c, we really should avoid calling Curl_dyn_addf() in loops, perhaps in particular when adding something so simple such as %HH codes - for performance reasons. This change thus makes the same thing for the URL parser's two URL-encoding loops.

@bagder bagder closed this in 7305ca6 Feb 1, 2023
@bagder bagder deleted the bagder/less-dyn_addf branch February 1, 2023 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

1 participant