Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve file size when creating attachments (#23406) #23426

Merged
merged 1 commit into from
Mar 12, 2023

Commits on Mar 12, 2023

  1. Preserve file size when creating attachments (go-gitea#23406)

    When creating attachments (issue, release, repo) the file size (being
    part of the multipart file header) is passed through the chain of
    creating an attachment to ensure the MinIO client can stream the file
    directly instead of having to read it to memory completely at first.
    
    Fixes go-gitea#23393
    
    Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    3 people authored and GiteaBot committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    842ad41 View commit details
    Browse the repository at this point in the history