Files
Akhil Mohan 77a25549be 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>
(cherry picked from commit 8f4c23b69f)
Signed-off-by: Akhil Mohan <makhil@vmware.com>
2022-11-07 12:00:06 +05:30
..
2022-10-20 13:12:32 +02:00
2022-11-07 12:00:06 +05:30
2022-11-07 12:00:06 +05:30