aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test/ssl_to_openssl_SUITE.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2010-05-26 14:38:02 +0000
committerErlang/OTP <[email protected]>2010-05-26 14:38:02 +0000
commit209c2c84c9487582bd1aaf186121d8bf11c40525 (patch)
tree7910c46b258db3ea55717e29d5cf7edb831c3119 /lib/ssl/test/ssl_to_openssl_SUITE.erl
parenteadfccf77cbf506c3a1a73b0eff1711dae0a5f4c (diff)
downloadotp-209c2c84c9487582bd1aaf186121d8bf11c40525.tar.gz
otp-209c2c84c9487582bd1aaf186121d8bf11c40525.tar.bz2
otp-209c2c84c9487582bd1aaf186121d8bf11c40525.zip
Avoid apparently timing issus when closing down openssl
Diffstat (limited to 'lib/ssl/test/ssl_to_openssl_SUITE.erl')
-rw-r--r--lib/ssl/test/ssl_to_openssl_SUITE.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ssl/test/ssl_to_openssl_SUITE.erl b/lib/ssl/test/ssl_to_openssl_SUITE.erl
index 82073c0735..1c18f10038 100644
--- a/lib/ssl/test/ssl_to_openssl_SUITE.erl
+++ b/lib/ssl/test/ssl_to_openssl_SUITE.erl
@@ -1142,8 +1142,7 @@ delayed_send(Socket, [ErlData, OpenSslData]) ->
erlang_ssl_receive(Socket, OpenSslData).
close_port(Port) ->
- port_command(Port, ?OPENSSL_QUIT),
- %%catch port_command(Port, "quit\n"),
+ catch port_command(Port, ?OPENSSL_QUIT),
close_loop(Port, 500, false).
close_loop(Port, Time, SentClose) ->