• Stan Hu's avatar
    Enable LFS chunked encoding · 6dd59a44
    Stan Hu authored
    LFS currently doesn't use chunked transfers, which causes the whole body
    to be read before it is stored. This causes 5+ GB uploads to be blocked
    by Cloudflare on GitLab.com.
    
    The LFS client will only enable this mode if the server sends the
    `Transfer-Encoding: chunked` HTTP header.
    
    This is guarded by the `lfs_chunked_encoding` feature flag to ensure
    this mode doesn't cause issues.
    
    Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/285489
    6dd59a44
lfs_http_spec.rb 40.9 KB