scylladb / seastar

High performance server-side application framework
http://seastar.io
Apache License 2.0
8.3k stars 1.54k forks source link

httpd/file_handler: Always close stream #2462

Closed BenPope closed 12 hours ago

BenPope commented 18 hours ago

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

avikivity commented 16 hours ago

Please copy the changelog text into the commit changelog.

BenPope commented 13 hours ago

Please copy the changelog text into the commit changelog.

Done