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

Easy way for a server to limit body size of a stream #129

Open
daurnimator opened this issue Aug 27, 2018 · 0 comments
Open

Easy way for a server to limit body size of a stream #129

daurnimator opened this issue Aug 27, 2018 · 0 comments

Comments

@daurnimator
Copy link
Owner

e.g. stream:setmaxbodysize(4096)

Once the limit is reached then e.g. :get_body_as_string() should return some error. (which then e.g. gets translated to a 413 status code)

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