-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Generic package size limited to 32MiB #20830
Labels
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
If you try to upload a package that is larger than 32MiB to the generic package registry, the upload appears to succeed, and the package can be seen in the web ui, but downloading the package later gives a 0 byte file.
I suspect this is due to the hard-coded buffer size on this line.
Looking at references to CreateHashedBufferFromReader, the 32MiB limit also seems to apply to the other package registries as well.
Gitea Version
1.17.0
Can you reproduce the bug on the Gitea demo site?
I did not receive the confirmation email after registering, so I was unable to attempt it.
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Reproduced on docker and Windows 10.
Database
SQLite
The text was updated successfully, but these errors were encountered: