From 68ac33a511929268ff5b0e05601b855a3a031b31 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 29 May 2014 10:32:19 +0000 Subject: * ext/openssl/lib/openssl/ssl.rb (SSLServer#accept): Close a socket if any exception occur. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/openssl/utils.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'test/openssl/utils.rb') diff --git a/test/openssl/utils.rb b/test/openssl/utils.rb index f4509f2980..4df14056e4 100644 --- a/test/openssl/utils.rb +++ b/test/openssl/utils.rb @@ -311,7 +311,6 @@ AQjjxMXhwULlmuR/K+WwlaZPiLIBYalLAZQ7ZbOPeVkJ8ePao0eLAgEC if (server) server.join(5) if server.alive? - server.kill server.join flunk("TCPServer was closed and SSLServer is still alive") unless $! end @@ -322,7 +321,6 @@ AQjjxMXhwULlmuR/K+WwlaZPiLIBYalLAZQ7ZbOPeVkJ8ePao0eLAgEC end ensure threads.each {|th| - th.kill th.join } end -- cgit v1.2.3