Skip to content

Cap self-update artifact downloads#573

Merged
ryanfowler merged 1 commit into
mainfrom
cap-update-artifact-size
May 25, 2026
Merged

Cap self-update artifact downloads#573
ryanfowler merged 1 commit into
mainfrom
cap-update-artifact-size

Conversation

@ryanfowler
Copy link
Copy Markdown
Owner

Summary

  • Added a hard 128 MiB cap to self-update artifact downloads.
  • Reject oversized Content-Length values before allocation and stop streaming once the cap is exceeded.
  • Added focused regression tests for both declared-length and streamed-over-limit cases.

Testing

  • cargo fmt
  • cargo clippy --locked --all-targets --all-features -- -D warnings
  • cargo test --all-features

@ryanfowler ryanfowler enabled auto-merge May 25, 2026 13:53
@ryanfowler ryanfowler merged commit 4976be4 into main May 25, 2026
4 checks passed
@ryanfowler ryanfowler deleted the cap-update-artifact-size branch May 25, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant