HTTP/2 client cannot manually abort a request #3603
Unanswered
Dust1404
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We need the server to be aware of the termination of a request, when the client manually close a request.
However, when using
httpx=0.27.2
(withhttpx.AsyncClient.stream
and HTTP/2), we find that the server will not notice the termination until the TCP connection closes. This can be fixed by sending aRST_STREAM
frame when closing a request.Beta Was this translation helpful? Give feedback.
All reactions