Skip to content
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

close inbound on UNKNOWN_ALPN_PROTOCOL_NAME_E #208

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

rlm2002
Copy link

@rlm2002 rlm2002 commented Jul 16, 2024

close inbound if ssl.getError(ret) == UNKNOWN_ALPN_PROTOCOL_NAME_E

Copy link
Member

@cconlon cconlon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See minor change request. Also please squash the generic named commit "fix comment" into the previous more descriptive one. In general, we want to make all commit messages meaningful and specific to what they are fixing, thanks.

@@ -1091,6 +1091,8 @@ else if (hs == SSLEngineResult.HandshakeStatus.NEED_WRAP &&
(err != WolfSSL.SSL_ERROR_WANT_READ) &&
(err != WolfSSL.SSL_ERROR_WANT_WRITE)) {
if (err == WolfSSL.UNKNOWN_ALPN_PROTOCOL_NAME_E) {
// Native wolfSSL could not negotiate a common ALPN protocol
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please switch this to our preferred comment style (/* ... */).

@cconlon cconlon merged commit a5863a4 into wolfSSL:master Jul 19, 2024
35 checks passed
@rlm2002 rlm2002 deleted the FailedALPN branch July 25, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants