ruby-changes:63597
From: Hiroshi <ko1@a...>
Date: Fri, 13 Nov 2020 12:07:03 +0900 (JST)
Subject: [ruby-changes:63597] e70a1d9b7f (master): Revert https://github.com/ruby/webrick/pull/44
https://git.ruby-lang.org/ruby.git/commit/?id=e70a1d9b7f From e70a1d9b7f71b0ed4a5808e24447dfef445c56ad Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Fri, 13 Nov 2020 12:02:27 +0900 Subject: Revert https://github.com/ruby/webrick/pull/44 Because the test for this change was still broken. diff --git a/lib/webrick/server.rb b/lib/webrick/server.rb index 01976fe..fd6b7a6 100644 --- a/lib/webrick/server.rb +++ b/lib/webrick/server.rb @@ -100,7 +100,7 @@ module WEBrick https://github.com/ruby/ruby/blob/trunk/lib/webrick/server.rb#L100 @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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/