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: Fix creation of process labels #8465

Merged
merged 1 commit into from
May 8, 2024

Conversation

Maria-12648430
Copy link
Contributor

The current generation of process labels from the given Host breaks the ability to use local sockets (as can be easily seen from how I fixed it), specifically in ssl:connect. While the ability to use local sockets is not officially supported and poses a rare edge case, I see no reason not to keep supporting it ATM, certainly not for the reason of generating a label.

This PR also improves the label generated for IPv6 addresses. In the current implementation, it would be generated as a string of dot-separated decimals ("IPv4-style"), instead of as a string of colon-separated hexadecimals (the usual representation of IPv6 addresses).

Copy link
Contributor

github-actions bot commented May 8, 2024

CT Test Results

    2 files     67 suites   48m 23s ⏱️
  789 tests   745 ✅  44 💤 0 ❌
3 756 runs  2 962 ✅ 794 💤 0 ❌

Results for commit ae97547.

♻️ 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 team:PS Assigned to OTP team PS label May 8, 2024
@IngelaAndin IngelaAndin merged commit e28dabf into erlang:master May 8, 2024
17 checks passed
@IngelaAndin
Copy link
Contributor

That was stumbling on the finish line ;) Thanks for the contribution.

@Maria-12648430 Maria-12648430 deleted the fix_ssl_proclabel branch May 8, 2024 16:07
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants