Skip to content

Question about cancel safety of request #3143

Answered by seanmonstar
hs-vc asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you may reuse the client even after canceling a request. If it were HTTP/1, the connection would be deemed unusable and so new ones would just be made. For HTTP/2, a RST_STREAM will be sent to the server that the stream is no longer desired.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hs-vc
Comment options

Answer selected by hs-vc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3142 on February 07, 2023 12:03.