-
Notifications
You must be signed in to change notification settings - Fork 69
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
raw-body will hang when the param is a parsed body #57
Comments
That sounds like a good idea. Even #32 getting implemented would help here as well, since the timeout would trigger in that situation. Do you want to make a pull request or provide code that I can run which demonstrates the issue so I can make the change? |
OK, I create a PR #58 to check the validation of stream but I dont think |
Hi, thanks for your work on this repo.
I use
raw-body
andkoa-joi-router
which depends onraw-body
in my project the same time.I found that the body already parsed can not emit any listener in readStream function of raw-body even if the
stream.readable
isfalse
.It may be better if throw some error of just return the parsed body this situation.
The text was updated successfully, but these errors were encountered: