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

Conversation

Maria-12648430
Copy link
Contributor

Fixes #336.

@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.

@essen
Copy link
Member

essen commented Nov 6, 2024

I have updated the CI, please force push to run CI again.

@juhlig juhlig force-pushed the extend_handshake_failure_exit_reason branch from d2babd6 to 956f5ab Compare November 7, 2024 07:38
@juhlig juhlig force-pushed the extend_handshake_failure_exit_reason branch from 956f5ab to fa138ab Compare November 11, 2024 08:55
@juhlig
Copy link
Contributor

juhlig commented Nov 11, 2024

Done. There is a failure in the shutdown suite (macOS, again 🙄) which seems to be a timing issue, in the test.

@essen
Copy link
Member

essen commented Nov 12, 2024

Merged, thanks!

@essen essen closed this Nov 12, 2024
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