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

Extend error reason in case of failed handshake #345

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Maria-12648430
Copy link
Contributor

Fixes #336.

@Maria-12648430 Maria-12648430 force-pushed the extend_handshake_failure_exit_reason branch from 12a470e to c50a115 Compare May 7, 2024 12:39
@Maria-12648430
Copy link
Contributor Author

About the pipeline failures in OTP 27: they happen because ct_helper apparently uses file:pid2name/1, which has been deprecated and removed in OTP 27.

@essen
Copy link
Member

essen commented May 7, 2024

No it's erlang.mk, it'll work if you make erlang-mk and commit the updated file.

@Maria-12648430
Copy link
Contributor Author

About the ssl_local_echo test currently failing for OTP 27, see erlang/otp#8465

@juhlig
Copy link
Contributor

juhlig commented May 17, 2024

Added a test. Also made a change to obtain the peername early in the handshake, as it could happen that it is not available any more when an error happens.

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.

ranch:handshake(Ref) silently drops invalid TLS connections in ranch_ssl via exit(normal)
3 participants