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

Fix ssl specs to reflect gen_tcp/inet #2235

Closed
wants to merge 1 commit into from

Conversation

juhlig
Copy link
Contributor

@juhlig juhlig commented May 14, 2019

While implementing support for Unix Domain sockets in ranch, it was discovered that they work seamlessly with ssl as well, but the specs do not reflect this, causing dialyzer errors.

gen_tcp and inet allow using Unix Domain sockets since OTP 19. ssl
inherently supports them, too, but the host() type and the specs for
peername/1 and sockname/1 do not reflect this, thereby causing
dialyzer errors.
@IngelaAndin IngelaAndin added team:PS Assigned to OTP team PS team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI labels May 20, 2019
@IngelaAndin IngelaAndin self-assigned this May 21, 2019
@IngelaAndin IngelaAndin changed the base branch from master to maint May 28, 2019 14:13
@IngelaAndin IngelaAndin changed the base branch from maint to master May 28, 2019 14:13
@IngelaAndin
Copy link
Contributor

We have approved this PR, I have cherry-picked your commit to main as it did not rebase cleanly. It will be included in the next planned OTP-22 release (OTP-22.1 most likley)

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 team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants