-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
http2: deprecate priority #58313
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
base: main
Are you sure you want to change the base?
http2: deprecate priority #58313
Conversation
Signed-off-by: Matteo Collina <[email protected]>
Review requested:
|
and therefore this method is deprecated. | ||
|
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.
Worth noting imo that it's deprecated in the latest HTTP/2 RFCs themselves (RFC 9113, here: https://datatracker.ietf.org/doc/html/rfc9113#section-5.3.1) which is the relevant point for most users. It's not that nghttp2 has just unilaterally dropped support, the whole concept is going away everywhere.
@@ -1585,6 +1588,8 @@ Provides miscellaneous information about the current state of the | |||
instances that depend on this `Http2Stream` as specified using | |||
`PRIORITY` frames. | |||
* `weight` {number} The priority weight of this `Http2Stream`. | |||
The support for priority weights has been removed in [latest versions of nghttp2 (1.65.0)][nghttp2-priority], | |||
and therefore this property is deprecated and it should be ignored. |
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.
This applies to sumDependencyWeight
too.
We might have to create an entry in the deprecation.md |
@@ -1473,6 +1474,8 @@ added: v8.4.0 | |||
sending a `PRIORITY` frame to the connected peer. | |||
|
|||
Updates the priority for this `Http2Stream` instance. | |||
The support for priority weights has been removed in [latest versions of nghttp2 (1.65.0)][nghttp2-priority], |
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.
I think we should move this description to the YAML changes:
as this will be out-of-date as soon as nghttp releases more versions.
Ref #58293
and #57269.