Change the 'ssl' to 'sslopts'
This commit is contained in:
parent
764e506f8d
commit
b5446ceb4d
|
@ -710,7 +710,7 @@ end}.
|
||||||
ConnOpts = Filter([{rate_limit, cuttlefish:conf_get(Key ++ ".rate_limit", Conf, undefined)}]),
|
ConnOpts = Filter([{rate_limit, cuttlefish:conf_get(Key ++ ".rate_limit", Conf, undefined)}]),
|
||||||
Opts = [{connopts, ConnOpts}, {sockopts, TcpOpts(Key)} | LisOpts(Key)],
|
Opts = [{connopts, ConnOpts}, {sockopts, TcpOpts(Key)} | LisOpts(Key)],
|
||||||
[{Name, Port, case Name =:= ssl orelse Name =:= https of
|
[{Name, Port, case Name =:= ssl orelse Name =:= https of
|
||||||
true -> [{ssl, SslOpts(Key)} | Opts];
|
true -> [{sslopts, SslOpts(Key)} | Opts];
|
||||||
false -> Opts
|
false -> Opts
|
||||||
end}]
|
end}]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue