aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-12 12:08:13 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-12 12:08:13 +0000
commitfa95cf992f5488edc71b3a310ed5c2cb79a668b2 (patch)
treea757b4a8b9773f767550612d39ea631f45cb9244 /lib
parent6dececc5db85dfdb6982907ab6729349935e2de0 (diff)
downloadruby-fa95cf992f5488edc71b3a310ed5c2cb79a668b2.tar.gz
* lib/webrick/config.rb (WEBrick::Config::General):
disable reverse lookup by default. [ruby-core:45514] [Feature #6559] Socket.do_not_reverse_lookup is true by default but WEBrick overwrote it. patch by Eric Hodel [ruby-core:45527] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/webrick/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/config.rb b/lib/webrick/config.rb
index 5f7b0a7fa4..98c9701633 100644
--- a/lib/webrick/config.rb
+++ b/lib/webrick/config.rb
@@ -34,7 +34,7 @@ module WEBrick
:StartCallback => nil,
:StopCallback => nil,
:AcceptCallback => nil,
- :DoNotReverseLookup => nil,
+ :DoNotReverseLookup => true,
:ShutdownSocketWithoutClose => false,
}