-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error caused by
honor_cipher_order
, CI errors (#589)
OTP-22.1 (124da8950c) introduced `assert_role/4` into `:ssl`, which throws an error when `:ssl.connect` is called with the `honor_cipher_order` option defined. The error returned is `{:error, {:option, :server_only, :honor_cipher_order}}`. With OTP-22.1, a dialyzer warning also appears. 129: Invalid type specification for function hackney_ssl:shutdown/2. The success typing is ( { 'sslsocket', _, nonempty_maybe_improper_list() | {'dtls' | port(), _} }, 'read' | 'read_write' | 'write' ) -> 'ok' | {'error',_} Prior to the above, CI errors began to appear as a result of cowboy-1.0.4 download failures. Using cowboy-1.1.2 fixes this. * remove `honor_cipher_order` option in `connect/4` * add OTP-22.0 to .travis.yml * drop OTP-20.2 from .travis.yml (no longer available) * fix invalid type spec for `shutdown/2` * require cowboy-1.1.2
- Loading branch information
1 parent
b3ea4ea
commit 9c3f578
Showing
4 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
language: erlang | ||
otp_release: | ||
- 22.0 | ||
- 21.0.2 | ||
- 20.3 | ||
- 20.2 | ||
- 19.3 | ||
|
||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters