mirror of
https://github.com/containerd/containerd.git
synced 2026-07-03 05:09:26 +00:00
The remote content writer proxy already has the capability to break up large files into multiple writes, but the current API doesn't recognize when it's about to exceed the limits and attempts to send the data over grpc in one message instead of breaking it into multiple messages. This changes the behavior of `Write` to automatically break up the size of the content based on the max send message size. Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>