-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Next request timeouts after error in File upload #3194
Comments
A temporary workaround is to disable keep_alive. |
Dummerle
changed the title
Request timeout after uploading a file
Next request timeouts after error in File upload
Nov 21, 2023
Just bumped the same issue. One more note. If I try to upload 2.4MB image file everything FromRequest works well. If i try to upload small size image (in my case less than 100kb) it will stack on next request |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current Behavior
When uploading an image or some other kind of file, but a custom extractor returns an error, the next request runs into a timeout.
Expected Behavior
Get no timeout
Possible Solution
No idea
Steps to Reproduce (for bugs)
I have this small example
The following python script runs into the timeout. It works, if you don't use a session. The second request on /other works. The bug also occurs on a simple website
Context
I wanted to add an endpoint, where you can upload an image.
Your Environment
rustc -V
): 1.74, but also doesn't work with 1.69The text was updated successfully, but these errors were encountered: