-
Notifications
You must be signed in to change notification settings - Fork 157
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
RequestReceived should contain priority information #234
Comments
So I'm not sure exactly how we want to do this yet. We could put the priority information in I think I'd rather we decided on a solution for #228 that allows understanding this information without forcing people to know about it if they just want to handle the priority information wherever it came from. |
Maybe I misunderstood you, but you sounded more enthusiastic about it in #233 (comment). #228 sounds more like a 3.0 kinda thing. As a backward-compatible solution, putting priority information into |
@Kriechi We can duplicate the priority information in there, but we can't move it there, because that would also be a breaking API change. |
Yes, copying the values to the |
So then, the question becomes which of the following APIs we want to go with:
Doing 3 is a major version bump which we're considering anyway, so let's restrict ourselves to 1) and 2). Do you have a preference here? |
1. is probably the simplest and requires only minimal changes / additions to the API. Unless you really dislike duplicating the values between two events, I would prefer 1. |
Ok, I'm prototyping a solution based on (2), because it has the handy property of being a good stepping stone to potentially implementing @rbtcollins' "frozenset" based idea for #228: that is, it'll get people used to the idea that they may want to check a set for other things before processing too far. |
Resolved by #240. |
A follow-up on #229 and #233:
It would be nice if the
RequestReceived
event contains priority information, if the HEADERS frame carries them. This way all available information about a new request is in the same event.PriorityUpdated
is then only used for actualPRIORITY
frames.The text was updated successfully, but these errors were encountered: