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

Add Limited body wrapper #60

Closed
wants to merge 6 commits into from

Conversation

programatik29
Copy link
Contributor

This wrapper will return an error when limit is exceeded.

src/limited.rs Outdated Show resolved Hide resolved
src/limited.rs Show resolved Hide resolved
@davidpdrsn
Copy link
Member

@programatik29 and I talked in Discord about tokio-rs/axum#853 and landed on adding something like this to http-body.

programatik29 and others added 2 commits May 20, 2022 17:43
@davidpdrsn
Copy link
Member

Superseded by #61. Thanks for bringing this up :)

@davidpdrsn davidpdrsn closed this May 20, 2022
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 this pull request may close these issues.

2 participants