Skip to content

Better error when handling a descriptor of size zero#5154

Merged
mxpv merged 1 commit intocontainerd:masterfrom
estesp:zero-len
Mar 14, 2021
Merged

Better error when handling a descriptor of size zero#5154
mxpv merged 1 commit intocontainerd:masterfrom
estesp:zero-len

Conversation

@estesp
Copy link
Copy Markdown
Member

@estesp estesp commented Mar 10, 2021

Fixes: #5124

Any chance you have a way to try this fix @amouat? I am only able to force this error with a contrived setup that just forces the size to zero earlier in the code flow from a pull operation.

Signed-off-by: Phil Estes [email protected]

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Mar 10, 2021

Build succeeded.

@amouat
Copy link
Copy Markdown

amouat commented Mar 10, 2021

Sure, I should be able to use an old version of Trow. I can use the binary in test_results/bin?

@estesp
Copy link
Copy Markdown
Member Author

estesp commented Mar 10, 2021

What is test_results? For some reason I'm not aware of what uses/creates a dir with that name. If you check out this PR and do make binaries then you can use the output in ./bin.

Copy link
Copy Markdown
Member

@dims dims left a comment

Choose a reason for hiding this comment

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

LGTM

Comment thread remotes/handlers.go Outdated
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Mar 14, 2021

Build succeeded.

@mxpv mxpv merged commit e231b95 into containerd:master Mar 14, 2021
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.

Handle missing content-length header

6 participants