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

ssl: Improve error handling of sni_fun #9387

Conversation

IngelaAndin
Copy link
Contributor

If sni_fun returns undefined we will attempt connection with original option values, if it returns unrecognized we end the connection with UNRECOGNIZED_NAME alert and if provided options fail option verification we will end the connection with a HANDSHAKE_FAILURE and an error log.

@IngelaAndin IngelaAndin requested review from dgud and u3s February 4, 2025 13:56
@IngelaAndin IngelaAndin self-assigned this Feb 4, 2025
@IngelaAndin IngelaAndin added the team:PS Assigned to OTP team PS label Feb 4, 2025
Copy link
Contributor

github-actions bot commented Feb 4, 2025

CT Test Results

  1 files   11 suites   4m 12s ⏱️
 95 tests  93 ✅ 2 💤 0 ❌
111 runs  109 ✅ 2 💤 0 ❌

Results for commit 0b4eb84.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@IngelaAndin IngelaAndin added the testing currently being tested, tag is used by OTP internal CI label Feb 4, 2025
@IngelaAndin IngelaAndin force-pushed the ingela/ssl/sni-fun-error-handling/OTP-19467 branch from 1725eac to a0a7a0f Compare February 5, 2025 09:38
@IngelaAndin IngelaAndin requested a review from dgud February 5, 2025 09:39
dgud
dgud previously approved these changes Feb 5, 2025
u3s
u3s previously approved these changes Feb 6, 2025
If sni_fun returns undefined we will attempt connection with original option values,
if it returns unrecognized we end the connection with UNRECOGNIZED_NAME alert and
if provided options fail option verification we will end the connection with a
HANDSHAKE_FAILURE and an error log.
@IngelaAndin IngelaAndin dismissed stale reviews from u3s and dgud via 0b4eb84 February 8, 2025 16:07
@IngelaAndin IngelaAndin force-pushed the ingela/ssl/sni-fun-error-handling/OTP-19467 branch from a0a7a0f to 0b4eb84 Compare February 8, 2025 16:07
@IngelaAndin IngelaAndin requested a review from u3s February 8, 2025 22:56
@IngelaAndin IngelaAndin merged commit c07e207 into erlang:maint Feb 10, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:PS Assigned to OTP team PS testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants