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

feature: add maximum data size to Parse signature #3

Closed
dadleyy opened this issue Nov 14, 2016 · 1 comment · Fixed by #4
Closed

feature: add maximum data size to Parse signature #3

dadleyy opened this issue Nov 14, 2016 · 1 comment · Fixed by #4

Comments

@dadleyy
Copy link
Contributor

dadleyy commented Nov 14, 2016

currently when parsing multipart/form-data requests, the size of data is locked in at 2048. For image uploads this might be a little low; is it possible to add the maximum size to the functions signature? Or perhaps a ParseMax(*http.Request, uint) function?

@albrow
Copy link
Owner

albrow commented Jan 10, 2017

@dadleyy this is a good idea. I will not have time to do it anytime soon but I would be more than happy to review a PR if you are interested in tacking a stab at it.

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

Successfully merging a pull request may close this issue.

2 participants