-
Notifications
You must be signed in to change notification settings - Fork 565
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
Separate HEADERS+PRIORITY #99
Comments
I made the same suggestion to a few folks. It wasn't that popular. A number of things to consider:
PRIORITY would be a stream-related frame, sent on the stream that is being reprioritized. This makes it very different from PUSH_PROMISE. |
|
Correct, it's the semantic layer that requires the use of HEADERS+PRIORITY. For HTTP my interpretation is that this is strong enough that we don't require a default priority. |
I would like to see this change.
|
From the wg list:
|
Discussed at SF Interim; pending proposal from Layering TF. |
@jasnell will propose text for this. This is going to be completely opposite to the original issue header. HEADERS will be the only frame. HEADERS+PRIORITY will go away. The new HEADERS frame will include a flag, which when set indicates that there is a four byte priority. Priority can be changed on every HEADERS frame. If the server includes PRIORITY then it is the priority that the server has decided to use - which is advisory only. |
Done in #130. |
With regards to the discussion over stream re-prioritization, I suggest:
The PRIORITY frame becomes the only way to set/change the priority for a stream.
If it is necessary to allow an endpoint to establish the priority of stream prior to actually initiating the stream, we can allow sending a PRIORITY frame before the initial HEADERS frame. Doing so would effectively reserve the stream id (in the same general manner PUSH_PROMISE does).
The advantages of this approach are:
The text was updated successfully, but these errors were encountered: