containerd/remotes
Akhil Mohan 8f4c23b69f
retry request on writer reset
when a put request is retried due to the response from registry,
the body of the request should be seekable. A dynamic pipe is added
to the body so that the content of the body can be read again.
Currently a maximum of 5 resets are allowed, above which will fail the
request. A new error ErrReset is introduced which informs that a
reset has occured and request needs to be retried.

also added tests for Copy() and push() to test the new functionality

Signed-off-by: Akhil Mohan <makhil@vmware.com>
2022-09-20 22:09:11 +05:30
..
docker retry request on writer reset 2022-09-20 22:09:11 +05:30
errors Improve ErrUnexpectedStatus default string 2022-03-07 09:46:25 +01:00
handlers_test.go Add image handler to skip non-distributable blobs. 2022-01-11 00:49:36 +00:00
handlers.go Run gofmt 1.19 2022-08-04 18:18:33 -07:00
resolver.go Fix PushHandler cannot push image that contains duplicated blobs 2021-04-20 14:00:53 +09:00