feat(partial_chain): gateway support
This commit is contained in:
parent
3a674f44f1
commit
337c230e79
|
@ -559,6 +559,8 @@ ssl_opts(Name, Opts) ->
|
|||
[
|
||||
fun ssl_opts_crl_config/2,
|
||||
fun ssl_opts_drop_unsupported/2,
|
||||
fun ssl_partial_chain/2,
|
||||
fun ssl_verify_fun/2,
|
||||
fun ssl_server_opts/2
|
||||
],
|
||||
SSLOpts,
|
||||
|
@ -586,6 +588,12 @@ ssl_server_opts(SSLOpts, ssl_options) ->
|
|||
ssl_server_opts(SSLOpts, dtls_options) ->
|
||||
emqx_tls_lib:to_server_opts(dtls, SSLOpts).
|
||||
|
||||
ssl_partial_chain(SSLOpts, _Options) ->
|
||||
emqx_tls_lib:opt_partial_chain(SSLOpts).
|
||||
|
||||
ssl_verify_fun(SSLOpts, _Options) ->
|
||||
emqx_tls_lib:opt_verify_fun(SSLOpts).
|
||||
|
||||
ranch_opts(Type, ListenOn, Opts) ->
|
||||
NumAcceptors = maps:get(acceptors, Opts, 4),
|
||||
MaxConnections = maps:get(max_connections, Opts, 1024),
|
||||
|
|
Loading…
Reference in New Issue