mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2026-04-30 18:53:26 +00:00
f7b42518dc
Always do this if possible, i.e. if Content-Length or expected length is known, not only in test. This will save unnecessary last extra loop trying to read 0 bytes.