-
Notifications
You must be signed in to change notification settings - Fork 857
Add new log field for negotiated ALPN Protocol ID with the client #7491
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1325,6 +1325,8 @@ SSLNetVConnection::sslServerHandShakeEvent(int &err) | |
| if (!this->setSelectedProtocol(proto, len)) { | ||
| return EVENT_ERROR; | ||
| } | ||
| this->set_negotiated_protocol_id({reinterpret_cast<const char *>(proto), static_cast<size_t>(len)}); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ALPN with Partial Blind Tunnel has a situation of that negotiated application protocol is different from the endpoint which is actually used.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, registering a different endpoint for tunneling vc maybe more generic. |
||
|
|
||
| Debug("ssl", "client selected next protocol '%.*s'", len, proto); | ||
| } else { | ||
| Debug("ssl", "client did not select a next protocol"); | ||
|
|
||
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.
Ins't it almost the same as
cqpv? Do we need the both?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.
Yes, please look at the updated description.