From e70a1d9b7f71b0ed4a5808e24447dfef445c56ad Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 13 Nov 2020 12:02:27 +0900 Subject: [PATCH] Revert https://github.com/ruby/webrick/pull/44 Because the test for this change was still broken. --- lib/webrick/server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/webrick/server.rb b/lib/webrick/server.rb index 01976febd3..fd6b7a61b5 100644 --- a/lib/webrick/server.rb +++ b/lib/webrick/server.rb @@ -100,7 +100,7 @@ module WEBrick @logger.info("ruby #{rubyv}") @listeners = [] - @shutdown_pipe = @config[:ShutdownPipe] + @shutdown_pipe = nil unless @config[:DoNotListen] raise ArgumentError, "Port must an integer" unless @config[:Port].to_s == @config[:Port].to_i.to_s