Skip to content

Commit

Permalink
Update Erlang CI images
Browse files Browse the repository at this point in the history
 * Use latest patch levels for 24 and 25.
 * Add 26 to the list.

In Erlang 26 TLS `verify` option switched the default value from `verify_none`
to `verify_peer` [1]. So had to explictly set it in the test client.

[1] https://www.erlang.org/blog/otp-26-highlights/#ssl-safer-defaults
  • Loading branch information
nickva committed Sep 22, 2023
1 parent 97573d2 commit 78d4c29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ jobs:
os:
- ubuntu-latest
otp:
- "25.3.0.0"
- "24.3.4.10"
- "26.0.2.0"
- "25.3.2.3"
- "24.3.4.13"
- "23.3.4.18"
- "22.3.4.26"
- "21.3.8.24"
Expand Down
2 changes: 1 addition & 1 deletion test/mochiweb_test_util.erl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ with_server(Transport, ServerFun, ClientFun) ->
Res.

ssl_client_opts(Opts) ->
[{server_name_indication, disable} | Opts].
[{server_name_indication, disable}, {verify, verify_none} | Opts].

sock_fun(Transport, Port) ->
Opts = [binary, {active, false}, {packet, http}],
Expand Down

0 comments on commit 78d4c29

Please sign in to comment.