Skip to content

cw-out: unify the error handling pattern in cw_out_do_write#19195

Closed
x2018 wants to merge 2 commits into
curl:masterfrom
x2018:cw_out_error_paths
Closed

cw-out: unify the error handling pattern in cw_out_do_write#19195
x2018 wants to merge 2 commits into
curl:masterfrom
x2018:cw_out_error_paths

Conversation

@x2018

@x2018 x2018 commented Oct 22, 2025

Copy link
Copy Markdown
Contributor

In lib/cw-out.c:cw_out_do_write(), one error path does not properly set the errored and cleanup the buf.
This PR unifies its error handling path as other places.

@testclutch

Copy link
Copy Markdown

Analysis of PR #19195 at 7544d495:

Test ../../tests/http/test_19_shutdown.py::TestShutdown::test_19_02_check_shutdown[h2] failed, which has NOT been flaky recently, so there could be a real issue in this PR. Note that this test has failed in 2 different CI jobs (the link just goes to one of them).

Generated by Testclutch

@bagder bagder closed this in 28ebaf8 Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants