summaryrefslogtreecommitdiffstats
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
commit9951baa59a87b43284dcbf7785c44e9f6a060107 (patch)
tree85b57cd3c50495bd6dbaea239496534557e0370c
parent396b25572f74d043d82e2a870b11f755357e6858 (diff)
downloadruby-9951baa59a87b43284dcbf7785c44e9f6a060107.tar.gz
ruby-9951baa59a87b43284dcbf7785c44e9f6a060107.tar.xz
ruby-9951baa59a87b43284dcbf7785c44e9f6a060107.zip
* lib/webrick/server.rb (WEBrick::HTTPServer#start): remove
:DoNotReverseLookup option. (Socket#do_not_reverse_lookup is a ruby 1.9 feature) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog8
-rw-r--r--lib/webrick/config.rb1
-rw-r--r--lib/webrick/server.rb3
3 files changed, 7 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 13e29321e..bac8971e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Nov 6 14:58:44 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
+
+ * lib/webrick/server.rb (WEBrick::HTTPServer#start): remove
+ :DoNotReverseLookup option. (Socket#do_not_reverse_lookup is a
+ ruby 1.9 feature)
+
Sat Nov 6 11:31:04 2004 Tadayoshi Funaba <tadf@dotrb.org>
* lib/date.rb (_parse): checks whether zone was given.
@@ -67,7 +73,7 @@ Wed Nov 3 22:32:12 2004 NARUSE, Yui <naruse@ruby-lang.org>
* process.c: On NetBSD don't use setruid() and setrgid().
-Wed Nov 3 22:24:17 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
+Wed Nov 3 22:24:17 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
* lib/webrick/httpauth/digestauth.rb: use Base64.encode64 to
avoid warnings.
diff --git a/lib/webrick/config.rb b/lib/webrick/config.rb
index f0e262bf3..99691eadb 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 0668e27b0..93e3b2ccf 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