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

[v23.1.x] http: Close output stream in exceptional cases #9922

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #9903

- Ensure that in the case of an exception when streaming http requests,
the output stream is closed in both the success or failure cases.

- Failure to do so will result in an assertion thrown by seastar when
the output_stream goes out of scope and is deallocated.

(cherry picked from commit 7b0389d)
@vbotbuildovich vbotbuildovich added this to the v23.1.x-next milestone Apr 8, 2023
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Apr 8, 2023
@piyushredpanda piyushredpanda marked this pull request as ready for review April 8, 2023 04:16
@piyushredpanda piyushredpanda modified the milestones: v23.1.x-next, v23.1.7 Apr 8, 2023
@BenPope BenPope merged commit d2959bd into redpanda-data:v23.1.x Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants