Skip to content

Commit 137d220

Browse files
cubic-dev-ai[bot]flexiondotorgcubic-dev-ai[bot]
authored
fix: use HTTP_TIMEOUT constant instead of magic number (#92)
* feat: add retry logic and extended timeouts for large file downloads - Add automatic retry mechanism with exponential backoff (3 retries max) - Implement automatic resume on retry by re-checking file size - Extend connection timeout to 10 minutes for large file downloads - Add connection pooling and TCP keepalive settings - Refactor download_file_content to handle transient network errors - Simplify function signature by removing explicit file_size parameter Addresses issues: - #76: Large files downloading with incorrect size/hash errors - #89: Connection errors during download ('error decoding response body') Changes from PR #86 by @ApfelTeeSaft * fix: use HTTP_TIMEOUT constant instead of magic number --------- Co-authored-by: Martin Wimpress <martin@wimpress.org> Co-authored-by: cubic-dev-ai[bot] <1082092+cubic-dev-ai[bot]@users.noreply.github.com>
1 parent bdf5359 commit 137d220

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)