summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-06 06:13:59 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-06 06:13:59 +0000
commitd55f1f480a83b3f91d7d32679da3d6d55a5ae30f (patch)
tree85b57cd3c50495bd6dbaea239496534557e0370c /lib
parent9f0643ed57d4a05bcd1ed64ffc2c52e111a4cf6f (diff)
* lib/webrick/server.rb (WEBrick::HTTPServer#start): remove
:DoNotReverseLookup option. (Socket#do_not_reverse_lookup is a ruby 1.9 feature) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/webrick/config.rb1
-rw-r--r--lib/webrick/server.rb3
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/webrick/config.rb b/lib/webrick/config.rb
index f0e262bf3e..99691eadbc 100644
--- a/lib/webrick/config.rb
+++ b/lib/webrick/config.rb
@@ -33,7 +33,6 @@ module WEBrick
:StartCallback => nil,
:StopCallback => nil,
:AcceptCallback => nil,
- :DoNotReverseLookup => nil,
}
# for HTTPServer, HTTPRequest, HTTPResponse ...
diff --git a/lib/webrick/server.rb b/lib/webrick/server.rb
index 0668e27b05..93e3b2ccf5 100644
--- a/lib/webrick/server.rb
+++ b/lib/webrick/server.rb
@@ -90,9 +90,6 @@ module WEBrick
@tokens.pop # blocks while no token is there.
sock = svr.accept
sock.sync = true
- if @config[:DoNotReverseLookup]
- sock.do_not_reverse_lookup = true
- end
Utils::set_close_on_exec(sock)
th = start_thread(sock, &block)
th[:WEBrickThread] = true