Make MAX_CONTENT_LENGTH configurable
See original GitHub issueWe have a use-case that often requires request payloads larger than the current MAX_CONTENT_LENGTH (https://github.com/GoogleCloudPlatform/functions-framework-python/blob/master/src/functions_framework/__init__.py#L41).
Functions Framework is intended to be run on K8ts or Cloud Run, both of which can be configured to handle larger requests than the current MAX_CONTENT_LENGTH
, so configuring it to be larger would open up the library for more use cases.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Increasing maxContentLength and maxBodyLength in Axios
1 Answer 1 · 1. You were right, the issue was with IIS configuration: IIS-->Request filtering-->Maximum allowed content length · 1. Excellent, ...
Read more >maxContentLength configuration could slowdown request
The bug here is that axios is calling Buffer.concat(responseBuffer).length everytime it gets a chunk to make sure that total content length is ...
Read more >Changing maxAllowedContentLength - MSDN - Microsoft
User1745037820 posted. I'm using VS.NET 2005 running on Vista. The issue pertains to being able to upload large files in an ASP.
Read more >Configuring ASP.NET and IIS Request Length for POST Data
The maxAllowedContentLength determines the size of the POST buffer allowed in bytes. Above I've set the value to 500megs. Or you can do...
Read more >How to: Increase the Maximum File Size for Upload
If you need to upload files that are greater than 28 MB on IIS7+ or on Cloud Services, add a <system.webServer/> node to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks @t510599. I’ll defer the PR review to @anniefu.
Yeah this is strictly as a guard for GCF, as you say I think the quota would be enforced elsewhere in the stack. I think it can be safely removed. Either that or we could potentially set this conditionally on GCF?