Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
httpfs: Strenghten code to avoid corruptions with servers sending mor…
…e data than asked Fixes duckdb#8930 and duckdb#8908 (avoiding the fatal crash). HTTP server are allowed to send back more data than asked for, and be somehow unreliably. In this case a GET request with a range headers gets more data than asked for, and with very big files we ended up overriding the current buffer. This is an uncommon but legal behaviour, to properly handle this situation so we will have to improve logic elsewhere to properly handle this case.
- Loading branch information