diff options
author | Ingela Anderton Andin <[email protected]> | 2018-10-11 12:25:27 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2018-10-11 12:25:27 +0200 |
commit | 4d879e83420e98642da92618b388486970894ccf (patch) | |
tree | 5c52b3ac00691fa866dff41a392744b2d1338386 | |
parent | 8e4923c57aaadf68902807f65349ffd722ec64c1 (diff) | |
parent | b0e23e7b54909be811a962cc1cf075cfbea403b9 (diff) | |
download | otp-4d879e83420e98642da92618b388486970894ccf.tar.gz otp-4d879e83420e98642da92618b388486970894ccf.tar.bz2 otp-4d879e83420e98642da92618b388486970894ccf.zip |
Merge branch 'maint'
-rw-r--r-- | lib/ssl/src/tls_sender.erl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ssl/src/tls_sender.erl b/lib/ssl/src/tls_sender.erl index ad6e462279..0b9c9a8228 100644 --- a/lib/ssl/src/tls_sender.erl +++ b/lib/ssl/src/tls_sender.erl @@ -103,6 +103,12 @@ send_alert(Pid, Alert) -> %%-------------------------------------------------------------------- send_and_ack_alert(Pid, Alert) -> gen_statem:cast(Pid, {ack_alert, Alert}). +%%-------------------------------------------------------------------- +-spec setopts(pid(), [{packet, integer() | atom()}]) -> ok | {error, term()}. +%% Description: Send application data +%%-------------------------------------------------------------------- +setopts(Pid, Opts) -> + call(Pid, {set_opts, Opts}). %%-------------------------------------------------------------------- -spec setopts(pid(), [{packet, integer() | atom()}]) -> ok | {error, term()}. |