summaryrefslogtreecommitdiff
path: root/lib/webrick/server.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-11-13 12:02:27 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-11-13 12:06:42 +0900
commite70a1d9b7f71b0ed4a5808e24447dfef445c56ad (patch)
treefca6a4d2de5ad520c59b0c1d89af8aa1ecd4b330 /lib/webrick/server.rb
parentc046cc1d1cab14088f38f9d32353c43a1f939265 (diff)
Revert https://github.com/ruby/webrick/pull/44
Because the test for this change was still broken.
Diffstat (limited to 'lib/webrick/server.rb')
-rw-r--r--lib/webrick/server.rb2
1 files changed, 1 insertions, 1 deletions
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
@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