Skip to content

Commit 237c71f

Browse files
rheniummatzbot
authored andcommitted
[ruby/openssl] ssl: remove start_immediately kwarg from test helper start_server
The keyword argument is no longer used by any test cases. ruby/openssl@2f31605d47
1 parent b4865b1 commit 237c71f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/openssl/utils.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def readwrite_loop(ctx, ssl)
192192
end
193193
end
194194

195-
def start_server(verify_mode: OpenSSL::SSL::VERIFY_NONE, start_immediately: true,
195+
def start_server(verify_mode: OpenSSL::SSL::VERIFY_NONE,
196196
ctx_proc: nil, server_proc: method(:readwrite_loop),
197197
accept_proc: proc{},
198198
ignore_listener_error: false, &block)
@@ -212,7 +212,6 @@ def start_server(verify_mode: OpenSSL::SSL::VERIFY_NONE, start_immediately: true
212212
port = tcps.connect_address.ip_port
213213

214214
ssls = OpenSSL::SSL::SSLServer.new(tcps, ctx)
215-
ssls.start_immediately = start_immediately
216215

217216
threads = []
218217
begin

0 commit comments

Comments
 (0)