Skip to content

lib: convert Curl_get_line to use dynbuf #12846

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

Closed
wants to merge 4 commits into from
Closed

Conversation

bagder
Copy link
Member

@bagder bagder commented Feb 1, 2024

Create the line in a dynbuf. Aborts the reading of the file on errors. Avoids having to always allocate maximum amount from the start. Avoids direct malloc.

@github-actions github-actions bot added the tests label Feb 1, 2024

Verified

This commit was signed with the committer’s verified signature.
bagder Daniel Stenberg
Create the line in a dynbuf. Aborts the reading of the file on
errors. Avoids having to always allocate maximum amount from the
start. Avoids direct malloc.

Verified

This commit was signed with the committer’s verified signature.
bagder Daniel Stenberg
@bagder bagder force-pushed the bagder/read-line-dynbuf branch from e35d3f0 to 6d8677c Compare February 6, 2024 09:19

Verified

This commit was signed with the committer’s verified signature.
bagder Daniel Stenberg

Verified

This commit was signed with the committer’s verified signature.
bagder Daniel Stenberg
@bagder bagder marked this pull request as ready for review February 6, 2024 12:11
@bagder bagder closed this in 142ac25 Feb 7, 2024
@bagder bagder deleted the bagder/read-line-dynbuf branch February 7, 2024 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

1 participant