mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-11-04 00:11:04 +00:00 
			
		
		
		
	
				Fixes #8529, reverts #8527.
I was able to reproduce the problem in a test:
- it triggered only when the reader was an io.Reader
- and the size was provided (-1 takes another code path in minio)
		
	
					 | 
			||
|---|---|---|
| .. | ||
| testdata | ||
| helper.go | ||
| helper_test.go | ||
| local.go | ||
| local_test.go | ||
| minio.go | ||
| minio_test.go | ||
| storage.go | ||
| storage_test.go | ||