aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_handshake.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2016-12-09 10:51:30 +0100
committerIngela Anderton Andin <[email protected]>2016-12-19 11:15:06 +0100
commitdd985c2097a29ca0812fdf6f0431aed2d8a7c752 (patch)
tree1b6cfdca7adfe5aa71e9f3009e3ca7a19a609c14 /lib/ssl/src/tls_handshake.erl
parent256e35e9f6969ce635ab6abb54071ffee441f7a7 (diff)
downloadotp-dd985c2097a29ca0812fdf6f0431aed2d8a7c752.tar.gz
otp-dd985c2097a29ca0812fdf6f0431aed2d8a7c752.tar.bz2
otp-dd985c2097a29ca0812fdf6f0431aed2d8a7c752.zip
ssl: Correct terminate behaviour
When the terminate function is called explicitly, to make guarantees that for instance the reuseaddr option works as expected, we must make sure that the clean up code is not run again when gen_statem calls terminate. This check was broken in the rewrite from gen_fsm to gen_statem. Caused PEM cache errors, that in some cases would cause unexpected connection failures.
Diffstat (limited to 'lib/ssl/src/tls_handshake.erl')
0 files changed, 0 insertions, 0 deletions