From 5d82abdfc86f9ccbd61df4bae17826d01386b575 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 9 Jul 2024 15:38:01 +0900 Subject: Removed duplicate server thread --- test/open-uri/utils.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/test/open-uri/utils.rb b/test/open-uri/utils.rb index c0d79ebdba..076362b116 100644 --- a/test/open-uri/utils.rb +++ b/test/open-uri/utils.rb @@ -353,7 +353,6 @@ module TestOpenURIUtils open("#{cacert_directory}/#{hashed_name}", "w") {|f| f << CA_CERT } proxy_host = '127.0.0.1' proxy = SimpleHTTPProxyServer.new(proxy_host, 0, proxy_log, proxy_access_log) - proxy.start proxy_port = proxy.instance_variable_get(:@server).addr[1] proxy_thread = proxy.start threads << Thread.new { -- cgit v1.2.3