mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
a68db9076a
Continuing on from #14888 The previous implementation has race whereby an incomplete upload or hash mismatch upload can end up in the ContentStore. This PR moves the validation into the reader so that if there is a hash error or size mismatch the reader will return with an error instead of an io.EOF causing the storage to abort the storage. Signed-off-by: Andrew Thornton <art27@cantab.net> |
4 years ago | |
---|---|---|
.. | ||
LICENSE | 8 years ago | |
content_store.go | 4 years ago | |
locks.go | 4 years ago | |
pointers.go | 4 years ago | |
server.go | 4 years ago |