mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Add support for specifying the ciphers for the SSL transport
This commit is contained in:
parent
98c58280f6
commit
9ac784df3b
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ listen(Opts) ->
|
|||
({keyfile, _} = KeyFile, Acc) -> [KeyFile | Acc];
|
||||
({password, _} = Password, Acc) -> [Password | Acc];
|
||||
({cacertfile, _} = CACertFile, Acc) -> [CACertFile | Acc];
|
||||
({ciphers, _} = Ciphers, Acc) -> [Ciphers | Acc];
|
||||
(_, Acc) -> Acc
|
||||
end, ListenOpts0, Opts),
|
||||
ssl:listen(Port, ListenOpts).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue