mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/openssl/test_ssl.rb: Don't ignore errors on listener threads,
as much as possible. * test/openssl/test_ssl_session.rb: Ditto. * test/openssl/test_partial_record_read.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a25e9259d5
commit
e6aac32abf
4 changed files with 44 additions and 25 deletions
|
@ -14,7 +14,8 @@ if defined?(OpenSSL)
|
|||
ensure
|
||||
server_ssl.close
|
||||
end
|
||||
end
|
||||
end,
|
||||
:ignore_listener_error => false
|
||||
) do |server, port|
|
||||
sock = TCPSocket.new("127.0.0.1", port)
|
||||
ssl = OpenSSL::SSL::SSLSocket.new(sock)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue