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
GOAWAY initiating a graceful shutdown can carry a huge stream ID #3343
Changes from 1 commit
38802a8
306fba5
a270887
f39bcc4
1d54261
c4a513c
0938220
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -729,13 +729,12 @@ requests on another connection. A server that is attempting to gracefully shut | |
down a connection SHOULD send an initial GOAWAY frame with the last Stream ID | ||
set to the maximum value allowed by the concurrency control of QUIC for the | ||
kazuho marked this conversation as resolved.
Show resolved
Hide resolved
|
||
client-initiated, bidirectional streams (see section 4.5 of {{QUIC-TRANSPORT}}) | ||
kazuho marked this conversation as resolved.
Show resolved
Hide resolved
|
||
or any value above that, and SHOULD forbid the QUIC transport from granting | ||
additional concurrency credits thereafter. This signals to the client that a | ||
shutdown is imminent and that initiating further requests is prohibited. After | ||
allowing time for any in-flight requests (at least one round-trip time), the | ||
server MAY send another GOAWAY frame with an updated last Stream ID. This | ||
ensures that a connection can be cleanly shut down without causing requests to | ||
fail. | ||
or any value above that, and SHOULD NOT grant any more concurrency credit at the | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would say "could request that the transport not grant any more ..." as this is does not need to carry normative force. But that's not text you changed, so I'll leave that for @MikeBishop to sort out. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 FWIW, I agree to what @martinthomson states. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. PS. I think there is a bigger issue here, see #3341 (comment). |
||
transport layer thereafter. This signals to the client that a shutdown is | ||
imminent and that initiating further requests is prohibited. After allowing | ||
time for any in-flight requests (at least one round-trip time), the server MAY | ||
send another GOAWAY frame with an updated last Stream ID. This ensures that a | ||
connection can be cleanly shut down without causing requests to fail. | ||
|
||
Once all accepted requests have been processed, the server can permit the | ||
connection to become idle, or MAY initiate an immediate closure of the | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.