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

curl: Add more assertions for curl return values #3311

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

cgwalters
Copy link
Member

Followup to the previous curl fixes; if we'd had an assertion earlier debugging the failure would have been more obvious.

All of these are "should not fail" cases so asserting is right.

Followup to the previous curl fixes; if we'd had an assertion
earlier debugging the failure would have been more obvious.

All of these are "should not fail" cases so asserting is
right.
@ericcurtin
Copy link
Collaborator

ericcurtin commented Sep 23, 2024

Sometimes I prefer using exec(curl ...) rather than libcurl as I find it easier to debug and it's more memory safe, I guess OSTree does so many requests the forking gets too expensive, LGTM...

@ericcurtin ericcurtin merged commit 9ca8b46 into ostreedev:main Sep 23, 2024
26 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.

3 participants