Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
LFS in Gitea currently doesn't use chunked transfers, which causes the whole body to be read before it is stored. This means 100+ MB uploads will be blocked by Cloudflare.
Feature Description
LFS in Gitea currently doesn't use chunked transfers, which causes the whole body to be read before it is stored. This means 100+ MB uploads will be blocked by Cloudflare.
It looks like the LFS client looks for the
Transfer-Encoding: chunked
header from the server in https://github.com/git-lfs/git-lfs/blob/4140f638e9e305605f2e8cd941355340bb71fbf0/tq/basic_upload.go#L58-59 even though HTTP/1.1 says this isn't required.Screenshots
No response