[ruby/openssl] ssl: remove start_immediately kwarg from test helper start_server

The keyword argument is no longer used by any test cases.

https://github.com/ruby/openssl/commit/2f31605d47
This commit is contained in:
Kazuki Yamaguchi 2024-12-21 02:45:33 +09:00 committed by git
parent b4865b14cd
commit 237c71fc29

View File

@ -192,7 +192,7 @@ class OpenSSL::SSLTestCase < OpenSSL::TestCase
end
end
def start_server(verify_mode: OpenSSL::SSL::VERIFY_NONE, start_immediately: true,
def start_server(verify_mode: OpenSSL::SSL::VERIFY_NONE,
ctx_proc: nil, server_proc: method(:readwrite_loop),
accept_proc: proc{},
ignore_listener_error: false, &block)
@ -212,7 +212,6 @@ class OpenSSL::SSLTestCase < OpenSSL::TestCase
port = tcps.connect_address.ip_port
ssls = OpenSSL::SSL::SSLServer.new(tcps, ctx)
ssls.start_immediately = start_immediately
threads = []
begin