Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Proxy chunking should handle arbitrarily large chunks #1259

Merged
merged 3 commits into from
Aug 10, 2015

Conversation

paulbellamy
Copy link
Contributor

Fixes #1257.

At the moment I'm unit testing it to accept a 1 megabyte chunk. Have tried it with a failing docker images -a, but it requires having loads of images, so I'm loathe to add it into the integration test suite.

@tomwilkie
Copy link
Contributor

How many images do you need to create to make it fail? Can we make lots of
very light weight ones?

On Tuesday, 4 August 2015, Paul Bellamy [email protected] wrote:

Assigned #1259 #1259 to
@tomwilkie https://github.com/tomwilkie.


Reply to this email directly or view it on GitHub
#1259 (comment).

@paulbellamy
Copy link
Contributor Author

Good call, actually can fail it using a few images with large labels.

return cr.err
}

func (cr *ChunkedReader) beginChunk() (n uint64) {

This comment was marked as abuse.

tomwilkie added a commit that referenced this pull request Aug 10, 2015
Proxy chunking should handle arbitrarily large chunks
@tomwilkie tomwilkie merged commit 42debde into master Aug 10, 2015
@tomwilkie tomwilkie deleted the 1257-proxy-chunking branch August 10, 2015 14:57
@rade rade modified the milestone: 1.1.0 Aug 12, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants