Commit 9c3f578
Fix error caused by
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.2honor_cipher_order, CI errors (#589)1 parent b3ea4ea commit 9c3f578
File tree
4 files changed
+4
-5
lines changed- src
4 files changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | | - | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
126 | 125 | | |
127 | 126 | | |
128 | 127 | | |
129 | | - | |
| 128 | + | |
130 | 129 | | |
131 | 130 | | |
132 | 131 | | |
| |||
0 commit comments