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

Kuba/ssh/receive exit fix options construct fix/otp 19246/otp 19247 #8854

Conversation

u3s
Copy link
Contributor

@u3s u3s commented Sep 24, 2024

Fix for GH-8223 and also append {active, false} at the end of socket options.

Server supervision tree improvements are planned to be done in other PR.

u3s and others added 5 commits September 24, 2024 11:23
Co-authored-by: Maria Scott <maria-12648430@hnc-agency.org>
Co-authored-by: Jan Uhlig <juhlig@hnc-agency.org>
This was [{active, false}, {reuseaddr,true} | ?GET_OPT(socket_options,
Options)] in ssh_acceptor, which is wrong. For one, it would prevent
the usage of option inet_backend since this option must be the first
in the list. For another, in options given to gen_tcp or ssl, the last
option wins, such that if for example {active, true} was in the list
of given socket options, it would be set to {active, true} despite the
tacked-on {active, false}.

Co-authored-by: Maria Scott <maria-12648430@hnc-agency.org>
Co-authored-by: Jan Uhlig <juhlig@hnc-agency.org>
@u3s u3s added the team:PS Assigned to OTP team PS label Sep 24, 2024
@u3s u3s self-assigned this Sep 24, 2024
Copy link
Contributor

github-actions bot commented Sep 24, 2024

CT Test Results

    2 files     29 suites   17m 58s ⏱️
  462 tests   458 ✅  4 💤 0 ❌
1 667 runs  1 643 ✅ 24 💤 0 ❌

Results for commit 95307d5.

♻️ 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

@u3s u3s changed the base branch from master to maint September 24, 2024 11:11
@IngelaAndin IngelaAndin self-requested a review September 27, 2024 07:45
@u3s u3s force-pushed the kuba/ssh/receive_EXIT_fix_options_construct_fix/OTP-19246/OTP-19247 branch from 690010c to 95307d5 Compare September 27, 2024 15:27
@u3s u3s added testing currently being tested, tag is used by OTP internal CI and removed team:PS Assigned to OTP team PS labels Sep 27, 2024
@rickard-green rickard-green added the team:PS Assigned to OTP team PS label Sep 30, 2024
@u3s u3s merged commit 550f97d into erlang:maint Oct 4, 2024
16 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
4 participants