aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/packages
diff options
context:
space:
mode:
authorChristopherHX <christopher.homberger@web.de>2024-09-22 13:01:09 +0200
committerGitHub <noreply@github.com>2024-09-22 14:01:09 +0300
commitb594cec2bda6f861effedb2e8e0a7ebba191c0e9 (patch)
tree770826f848c973d817a32f269d61420834ed640f /routers/api/packages
parent74f2ee31248ccdd66218c89fafa7f91a1e1dc58a (diff)
downloadgitea-b594cec2bda6f861effedb2e8e0a7ebba191c0e9.tar.gz
gitea-b594cec2bda6f861effedb2e8e0a7ebba191c0e9.zip
Fix artifact v4 upload above 8MB (#31664)
Multiple chunks are uploaded with type "block" without using "appendBlock" and eventually out of order for bigger uploads. 8MB seems to be the chunk size This change parses the blockList uploaded after all blocks to get the final artifact size and order them correctly before calculating the sha256 checksum over all blocks Fixes #31354
Diffstat (limited to 'routers/api/packages')
0 files changed, 0 insertions, 0 deletions