-
-
Notifications
You must be signed in to change notification settings - Fork 692
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
fix: keep waiting if connection is not ready to close #1636
Conversation
I need more information here... |
Here is the way to reproduce this problem. |
If you can explain the problem, and the solution, it would save me time, and I'd really appreciate it. |
Sorry for my late response. ProblemThe close of the connection after
Because the function uvicorn/uvicorn/protocols/http/h11_impl.py Lines 352 to 360 in c3c2db3
Solution
uvicorn/uvicorn/protocols/http/h11_impl.py Lines 352 to 366 in 47475dd
|
I cannot reproduce your example. Are you able to create a test case on this PR? |
47475dd
to
9694172
Compare
I have added a new case and some comments. But it's interesting that the new case passed locally, but failed in CI. I'll check my local package version firstly, and reopen this PR if I can make sure about it. However, if you want to reproduce this issue, just run the new test case with the master branch code. It will raise error like that: |
related to #111