Skip to content

Conversation

@matthew-puku
Copy link
Contributor

@matthew-puku matthew-puku commented Jul 30, 2025

Fixes #2300.

I can have a go at writing tests which spy on internals to verify this change, if desired.

@matthew-puku matthew-puku force-pushed the feature/check-parts-early branch from 16cff63 to 6ebe026 Compare July 30, 2025 23:08
@matthew-puku matthew-puku marked this pull request as ready for review July 30, 2025 23:09
Copy link
Contributor

@jeremyevans jeremyevans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementation wise, it's fine to split the checks, and a bit more efficient to not check file part limit if it isn't a file. So this looks good.

@ioquatix ioquatix force-pushed the feature/check-parts-early branch from 077090e to 1504d45 Compare July 31, 2025 00:51
@ioquatix ioquatix merged commit 42c8b97 into rack:main Jul 31, 2025
17 checks passed
ioquatix pushed a commit that referenced this pull request Jul 31, 2025
ioquatix pushed a commit that referenced this pull request Jul 31, 2025
d1ceward pushed a commit to HappyRenting/rack that referenced this pull request Oct 29, 2025
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.

Check part limits before reading the next part?

3 participants