Skip to content

Express body-parser default size limits do not align with Twilio Runtime environment #98

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

Closed
cwkendall opened this issue Dec 1, 2019 · 1 comment · Fixed by #102
Closed

Comments

@cwkendall
Copy link

The Twilio Run express setup uses body-parser defaults which limits the request body size to 100KB (the default). In the Functions environment I believe the limit is 6MB (lambda default). Would be great to up this in the default configuration for Twilio-run so that local tests pass without having to override the dev server.

@welcome
Copy link

welcome bot commented Dec 1, 2019

Thank you so much for opening your first issue in this project! We'll try to get back to it as quickly as possible. While you are waiting...here's a random picture of a corgi (powered by dog.ceo)

picture of dog

dkundel added a commit that referenced this issue Jan 10, 2020
This changes the limit for the request body size from 100kb to 6mb which is the default for
Lambda/Twilio Functions

fix #98
dkundel added a commit that referenced this issue Jan 14, 2020
This changes the limit for the request body size from 100kb to 6mb which is the default for
Lambda/Twilio Functions

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

Successfully merging a pull request may close this issue.

1 participant