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

Disallow request handling if payload length more than Content-Length value #11

Closed
ym-project opened this issue Sep 10, 2023 · 1 comment
Assignees
Labels
🔥 bug Something isn't working

Comments

@ym-project
Copy link
Owner

if (body.len() + chunk.len()) > limit {

@ym-project ym-project added the 🔥 bug Something isn't working label Sep 10, 2023
@ym-project ym-project self-assigned this Sep 10, 2023
@ym-project ym-project reopened this Sep 10, 2023
@ym-project
Copy link
Owner Author

Other extractors support situations when Content-Length is not exist. So these changes should be reverted.

ym-project added a commit that referenced this issue Sep 10, 2023
fix(#11): 🐛 do not rely on Content-Length header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔥 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant