0
Fork 0
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:
Ali Sabil 2012-03-21 09:49:39 +01:00
parent 98c58280f6
commit 9ac784df3b

View file

@ -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).