Skip to content

Support for rejecting out-of-range chunks#2

Merged
coryodaniel merged 7 commits into
mainfrom
feature/chunk-upload-verification
May 30, 2025
Merged

Support for rejecting out-of-range chunks#2
coryodaniel merged 7 commits into
mainfrom
feature/chunk-upload-verification

Conversation

@coryodaniel

Copy link
Copy Markdown
Member

No description provided.

Debugging why verification blows up so many tests, its hard to tell whats failing because phoenix
is swallowing the errors, going to try to switch to cowboy to see if i can see the full trace
if we dont get a chunk range, we have to be OK about that, there is some places
in the conf test suite its sent and some its not, i'll dig in to figure out when
the spec says to send it, but the way its modeled now, we just accept empty uploads (unless this is another failing test I havent gotten to yet).

When we verify, we just assume :ok in this case. I'll do some research on the spec so when its required is more clearn, right now it looks like a hack and it'll definitely
permit someone to make a million empty files and it be 'valid' (and expensive) over something like s3.
@coryodaniel coryodaniel merged commit fa3a303 into main May 30, 2025
1 check failed
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