mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 01:23:57 +02:00
* test/openssl/test_ssl.rb: removed unnecessary free port scanning of
test_ssl.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
28ef80bcda
commit
71da8cbd5a
2 changed files with 5 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Aug 19 17:00:21 2010 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
||||
|
||||
* test/openssl/test_ssl.rb: removed unnecessary free port scanning of
|
||||
test_ssl.rb.
|
||||
|
||||
Thu Aug 19 16:47:51 2010 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
||||
|
||||
* ext/openssl/lib/openssl/config.rb, test/openssl/test_config.rb:
|
||||
|
|
|
@ -123,12 +123,6 @@ class OpenSSL::TestSSL < Test::Unit::TestCase
|
|||
|
||||
Socket.do_not_reverse_lookup = true
|
||||
tcps, port = choose_port(port0)
|
||||
begin
|
||||
tcps = TCPServer.new("127.0.0.1", port)
|
||||
rescue Errno::EADDRINUSE
|
||||
port += 1
|
||||
retry
|
||||
end
|
||||
|
||||
ssls = OpenSSL::SSL::SSLServer.new(tcps, ctx)
|
||||
ssls.start_immediately = start_immediately
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue