-
-
Notifications
You must be signed in to change notification settings - Fork 426
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
#2057: Shuffle outgoing transport parameters. #2066
Conversation
Why do you want to store the order? That seems largely unrelated to the stated goal of this PR to shuffle transport params. I think the commit introducing an enum should come first. Suggest extracting the macro from its current location in a separate commit so that it can get only the necessary modifications in place in the further commits. |
4ecbb6c
to
1f78a7b
Compare
@djc maybe I'm missing something, but inside
Do you mean only re-order commits in this MR or I should better to put refactoring related to |
Ah, makes sense -- sorry for the noise!
Reordering commits in this PR should be okay. |
1f78a7b
to
d169653
Compare
Re-ordered commits and hopefully a bit enhanced implementation by allowing
Also a bit changed implementation of reordering. Instead of storing all transport parameter IDs inside |
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 is looking pretty good!
f050208
to
2e3ef27
Compare
3c7e8e2
to
1b593cb
Compare
1b593cb
to
5f8b406
Compare
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.
Thanks!
Thanks for your contribution! I've been specifically wanting this for a while. |
I propose to remember the order in which write of the params should be performed when
TransportParameters
are crated. Then this order is used to write to wire format.PR currently split into two commits: