aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.21.target
diff options
context:
space:
mode:
authorqin shulei <qinsl0106@thundersoft.com>2023-06-28 19:52:47 +0800
committerqin shulei <qinsl0106@thundersoft.com>2023-06-29 11:00:35 +0800
commit79b46a0ef0c8bd45b95ec4887789f9013a7fbcbc (patch)
treefbca70bb4fc4a8dd9c9f75dd1cd096f0db4a45b7 /org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.21.target
parent91b23cc552c1038cf6e37d256ebb47eb83a8a5f6 (diff)
downloadjgit-79b46a0ef0c8bd45b95ec4887789f9013a7fbcbc.tar.gz
jgit-79b46a0ef0c8bd45b95ec4887789f9013a7fbcbc.zip
Fix S3Repository getSize to handle larger object sizes
Update `getSize` method in `S3Repository` to handle larger object sizes. The method previously used `Integer.parseInt` to parse the `Content-Length` header of an HTTP response, which limited the maximum object size to 2 GB. Replaces `Integer.parseInt` with `Long.parseLong`, allowing the method to handle object sizes larger than 2 GB. - Use minio as local S3 service for gerrit lfs plugin - The minio seems will return the Content-length Change-Id: Ia3a5fd1a335643786714aff3fcc7d10a6b152058 Signed-off-by: qin shulei <qinsl0106@thundersoft.com>
Diffstat (limited to 'org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.21.target')
0 files changed, 0 insertions, 0 deletions