You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Retry download on truncated response in download_cef.py
response.read() silently returns b"" on a dropped connection, causing
the loop to exit normally with a partial file that then fails SHA1.
Fix: after each attempt compare downloaded bytes against Content-Length;
treat a short read as failure, delete the partial file, and retry up to
3 times (configurable via max_retries). Also retries on connection
errors. The error message now names the root cause instead of surfacing
only the SHA1 mismatch.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments