-
Notifications
You must be signed in to change notification settings - Fork 60
Implement TLS Flags and the request mTLS flag. #191
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
Conversation
e05cbae to
5324115
Compare
|
Confirmed except for the new commit it's a rebase. |
5324115 to
e13e0de
Compare
d64905b to
08059b3
Compare
cjpatton
left a comment
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.
Looks good! I have some comments on style, plus some improvements for testing I'd strongly recommend. Feel free to merge when you're happy.
| for _, flag := range hs.tlsFlags { | ||
| if flag == ExperimentalFlagSupportMTLS { | ||
| return true | ||
| } | ||
| } |
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.
Suggestion, feel free to ignore: I feel like it ought to be possible to do this without iterating over the set flags. Can't we just do some bit fiddling on the the encoded TLS flags to see if the req mTLS flag is set?
e5a732d to
7d3a695
Compare
Add support for sending and receiving TLS Flags, and support for the request mTLS flag.