patch async-compression: make sure to exhaust reader
authorSven Rademakers <sven.rademakers@gmail.com>
Fri, 1 Dec 2023 18:33:10 +0000 (18:33 +0000)
committerSven Rademakers <sven.rademakers@gmail.com>
Fri, 1 Dec 2023 20:59:27 +0000 (20:59 +0000)
commit5a9c267780fef52c6135a22a6483367543c012d4
treec7dfa973cfeb2fe1190bad8fa7b7ef4d87d94abb
parent2e33575b94722da4ef1fea3493234772c6615821
patch async-compression: make sure to exhaust reader

This commit makes sure that underlaying readers are exhausted.
This fixes a bug that sha256 validation was not triggered as the stream
was still ready to accept new data even though the decompressor which
was on a higher layer already communicated that the stream is EOF.

Next to that, some logging improvements are present in this commit
Cargo.lock
Cargo.toml
src/app/upgrade_worker.rs
src/streaming_data_service/data_transfer.rs
src/utils/io.rs