Skip to content

Crash for response larger than 4GB #238

@uranusjr

Description

@uranusjr

Originally reported in pypa/pip#9549.

CacheControl crashes with ValueError: bytes is too large when trying to downloading a file larger than 4GB. Since this is carried over from msgpack’s limitation, it may be reasonable to skip trying to cache such a response (maybe with a warning), or provide e.g. a callback for the user code to rescure when this happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions