Skip to content

Chunking NG: Assemble in natural sort order of files#26995

Merged
guruz merged 1 commit into
masterfrom
chunking_ng_natural_order
Jan 20, 2017
Merged

Chunking NG: Assemble in natural sort order of files#26995
guruz merged 1 commit into
masterfrom
chunking_ng_natural_order

Conversation

@guruz

@guruz guruz commented Jan 20, 2017

Copy link
Copy Markdown
Contributor

For owncloud/client#5476

Before this, the assembly could be bogusly in the order 0,1,10,11,2,3 etc.

As per the spec "The name of every chunk should be its chunk number."
https://github.com/cernbox/smashbox/blob/master/protocol/chunking.md

For owncloud/client#5476

Before this, the assembly could be bogusly in the order 0,1,10,11,2,3 etc.

As per the spec "The name of every chunk should be its chunk number."
https://github.com/cernbox/smashbox/blob/master/protocol/chunking.md
@guruz guruz added this to the 10.0 milestone Jan 20, 2017
@mention-bot

Copy link
Copy Markdown

@guruz, thanks for your PR! By analyzing the history of the files in this pull request, we identified @DeepDiver1975 to be a potential reviewer.

@PVince81

Copy link
Copy Markdown
Contributor

Code makes sense 👍

@PVince81

Copy link
Copy Markdown
Contributor

I'd even suggest to have strict chunk names that can only be integer and nothing else (400 bad request for invalid names). Giving too much freedom to clients is likely to cause future unpredictable issues.

@guruz guruz merged commit cc5cad7 into master Jan 20, 2017
@guruz guruz deleted the chunking_ng_natural_order branch January 20, 2017 19:03
@moscicki

Copy link
Copy Markdown

@PVince81: I added 400 Bad Request specification: https://github.com/cernbox/smashbox/blob/master/protocol/chunking.md#put

@lock

lock Bot commented Aug 4, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants