diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-11-13 12:02:27 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-11-13 12:06:42 +0900 |
commit | e70a1d9b7f71b0ed4a5808e24447dfef445c56ad (patch) | |
tree | fca6a4d2de5ad520c59b0c1d89af8aa1ecd4b330 /lib | |
parent | c046cc1d1cab14088f38f9d32353c43a1f939265 (diff) |
Revert https://github.com/ruby/webrick/pull/44
Because the test for this change was still broken.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/webrick/server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |