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

httpd/file_handler: Always close stream #2462

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

BenPope
Copy link
Contributor

@BenPope BenPope commented Oct 1, 2024

Always close the stream in file_interaction_handler::read, even if there was a failure such as a short read.

@avikivity
Copy link
Member

Please copy the changelog text into the commit changelog.

Always close the stream in `file_interaction_handler::read`, even
if there was a failure such as a short read.

Signed-off-by: Ben Pope <[email protected]>
@BenPope BenPope force-pushed the file_handler_close_stream branch from 9d4878d to 6a4a1da Compare October 1, 2024 12:56
@BenPope
Copy link
Contributor Author

BenPope commented Oct 1, 2024

Please copy the changelog text into the commit changelog.

Done

Copy link
Contributor

@tchaikov tchaikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

@avikivity avikivity merged commit 07f7720 into scylladb:master Oct 1, 2024
15 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