chore(schema): restore space
This commit is contained in:
parent
96fad3d225
commit
085d8e8efa
|
@ -939,9 +939,9 @@ ssl(Defaults) ->
|
||||||
sc(boolean(),
|
sc(boolean(),
|
||||||
#{ default => Df("secure_renegotiate", true)
|
#{ default => Df("secure_renegotiate", true)
|
||||||
, desc => """
|
, desc => """
|
||||||
SSL parameter renegotiation is a feature that allows a client and a server
|
SSL parameter renegotiation is a feature that allows a client and a server
|
||||||
to renegotiate the parameters of the SSL connection on the fly.
|
to renegotiate the parameters of the SSL connection on the fly.
|
||||||
RFC 5746 defines a more secure way of doing this. By enabling secure renegotiation,
|
RFC 5746 defines a more secure way of doing this. By enabling secure renegotiation,
|
||||||
you drop support for the insecure renegotiation, prone to MitM attacks.
|
you drop support for the insecure renegotiation, prone to MitM attacks.
|
||||||
"""
|
"""
|
||||||
})
|
})
|
||||||
|
@ -950,13 +950,13 @@ you drop support for the insecure renegotiation, prone to MitM attacks.
|
||||||
sc(boolean(),
|
sc(boolean(),
|
||||||
#{ default => Df("client_renegotiation", true)
|
#{ default => Df("client_renegotiation", true)
|
||||||
, desc => """
|
, desc => """
|
||||||
In protocols that support client-initiated renegotiation,
|
In protocols that support client-initiated renegotiation,
|
||||||
the cost of resources of such an operation is higher for the server than the client.
|
the cost of resources of such an operation is higher for the server than the client.
|
||||||
This can act as a vector for denial of service attacks.
|
This can act as a vector for denial of service attacks.
|
||||||
The SSL application already takes measures to counter-act such attempts,
|
The SSL application already takes measures to counter-act such attempts,
|
||||||
but client-initiated renegotiation can be strictly disabled by setting this option to false.
|
but client-initiated renegotiation can be strictly disabled by setting this option to false.
|
||||||
The default value is true. Note that disabling renegotiation can result in
|
The default value is true. Note that disabling renegotiation can result in
|
||||||
long-lived connections becoming unusable due to limits on
|
long-lived connections becoming unusable due to limits on
|
||||||
the number of messages the underlying cipher suite can encipher.
|
the number of messages the underlying cipher suite can encipher.
|
||||||
"""
|
"""
|
||||||
})
|
})
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
%%%-------------------------------------------------------------------
|
||||||
|
%%% @author zhongwen
|
||||||
|
%%% @copyright (C) 2021, <COMPANY>
|
||||||
|
%%% @doc
|
||||||
|
%%%
|
||||||
|
%%% @end
|
||||||
|
%%% Created : 22. 9月 2021 13:38
|
||||||
|
%%%-------------------------------------------------------------------
|
||||||
|
-module(emqx_swagger_util).
|
||||||
|
-author("zhongwen").
|
||||||
|
|
||||||
|
%% API
|
||||||
|
-export([]).
|
Loading…
Reference in New Issue