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

Enforce hard-limit on file size #35

Open
trustin opened this issue Oct 11, 2017 · 0 comments
Open

Enforce hard-limit on file size #35

trustin opened this issue Oct 11, 2017 · 0 comments

Comments

@trustin
Copy link
Member

trustin commented Oct 11, 2017

We currently do not enforce any limit of the size of a file, which can cause troubles such as OOME when a user attempts to push a very large file.

We currently enforce 10 MiB hard limit on request content, but a user may want to increase the maximum allowed content length while limiting the size of an individual file. Think about a commit that contains multiple files whose total size is greater than 10 MiB while their each size is less than 1 MiB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant