diff options
| author | Alexander Clouter <alex@digriz.org.uk> | 2020-09-16 09:49:03 +0100 |
|---|---|---|
| committer | Alexander Clouter <alex@digriz.org.uk> | 2020-10-28 12:06:37 +0000 |
| commit | f95c16e23ea2d9db5209a3a3cedc682fa6a542d1 (patch) | |
| tree | 3a3dea982f427ebc86f7039a1581b87df2b95844 /lib/ftp/doc/src | |
| parent | f99c6f95860ad6fd7f6b69f433d4290d0ffa2ff5 (diff) | |
| download | erlang-f95c16e23ea2d9db5209a3a3cedc682fa6a542d1.tar.gz | |
ftp: session reuse support for data channel
Diffstat (limited to 'lib/ftp/doc/src')
| -rw-r--r-- | lib/ftp/doc/src/ftp.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/ftp/doc/src/ftp.xml b/lib/ftp/doc/src/ftp.xml index cbe6771f81..817a72a820 100644 --- a/lib/ftp/doc/src/ftp.xml +++ b/lib/ftp/doc/src/ftp.xml @@ -547,7 +547,7 @@ <v>start_option() = {verbose, verbose()} | {debug, debug()}</v> <v>verbose() = boolean() (default is false)</v> <v>debug() = disable | debug | trace (default is disable)</v> - <v>open_option() = {ipfamily, ipfamily()} | {port, port()} | {mode, mode()} | {tls, tls_options()} | {tls_sec_method, tls_sec_method()} | {timeout, timeout()} | {dtimeout, dtimeout()} | {progress, progress() | {sock_ctrl, sock_opts()} | {sock_data_act, sock_opts()} | {sock_data_pass, sock_opts()} }</v> + <v>open_option() = {ipfamily, ipfamily()} | {port, port()} | {mode, mode()} | {tls, tls_options()} | {tls_sec_method, tls_sec_method()} | {tls_ctrl_session_reuse, boolean() (default is false)} | {timeout, timeout()} | {dtimeout, dtimeout()} | {progress, progress()} | {sock_ctrl, sock_opts()} | {sock_data_act, sock_opts()} | {sock_data_pass, sock_opts()}</v> <v>ipfamily() = inet | inet6 | inet6fb4 (default is inet)</v> <v>port() = non_neg_integer() (default is 0 which aliases to 21 or 990 when used with {tls_sec_method,ftps})</v> <v>mode() = active | passive (default is passive)</v> @@ -582,6 +582,12 @@ the suboption <c>tls</c> is also set. </p> + <p>The option <c>{tls_ctrl_session_reuse, boolean()}</c> (defaults to + <c>false</c>) when set to <c>true</c> the client will re-use the + TLS session from the control channel on the data channel as enforced by + many FTP servers as (<url href="https://scarybeastsecurity.blogspot.com/2009/02/vsftpd-210-released.html">proposed and implemented first by vsftpd</url>). + </p> + <p>The options <c>sock_ctrl</c>, <c>sock_data_act</c> and <c>sock_data_pass</c> passes options down to the underlying transport layer (tcp). The default value for <c>sock_ctrl</c> is <c>[]</c>. Both <c>sock_data_act</c> and <c>sock_data_pass</c> uses the value of <c>sock_ctrl</c> as default value. |
