diff options
author | Ingela Anderton Andin <[email protected]> | 2018-09-18 18:57:35 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2018-09-20 10:54:59 +0200 |
commit | 81cf7b6c922f56b2de4656b91a6d1af0d9a9c432 (patch) | |
tree | 14432dbb718c0ae8378b3a949ffec0374cbca379 /lib/ssl/src/tls_sender.erl | |
parent | 51dcd166c58bf371da4c85250c8d76c27b4148da (diff) | |
download | otp-81cf7b6c922f56b2de4656b91a6d1af0d9a9c432.tar.gz otp-81cf7b6c922f56b2de4656b91a6d1af0d9a9c432.tar.bz2 otp-81cf7b6c922f56b2de4656b91a6d1af0d9a9c432.zip |
ssl: Move link to correct process
The link should be between the connection process and the tls_sender
process. But the start of the tls_sender process needs to be done
by the process that also starts the connection process in order to
correctly create the opaque #ssl_socket{}.
Diffstat (limited to 'lib/ssl/src/tls_sender.erl')
-rw-r--r-- | lib/ssl/src/tls_sender.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/tls_sender.erl b/lib/ssl/src/tls_sender.erl index 007fd345dd..db67d7ddff 100644 --- a/lib/ssl/src/tls_sender.erl +++ b/lib/ssl/src/tls_sender.erl @@ -67,9 +67,9 @@ %% same process is sending and receiving %%-------------------------------------------------------------------- start() -> - gen_statem:start_link(?MODULE, [], []). + gen_statem:start(?MODULE, [], []). start(SpawnOpts) -> - gen_statem:start_link(?MODULE, [], SpawnOpts). + gen_statem:start(?MODULE, [], SpawnOpts). %%-------------------------------------------------------------------- -spec initialize(pid(), map()) -> ok. |