Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle OCI-Chunk-Max-Length header field in blob pushes #4144

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 31, 2023

  1. Handle OCI-Chunk-Max-Length header field in blob pushes

    This header comes from the proposal of adding a way for registries to
    limit chunk sizes from the client.
    
    The implementation is simple enough; we're just adding a io.LimitReader
    and don't let it read more than the bytes that were specified by the
    registry.
    
    Signed-off-by: Gabi Villalonga Simon <gvillalongasimon@cloudflare.com>
    gabivlj committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    f7355f4 View commit details
    Browse the repository at this point in the history