From 9951baa59a87b43284dcbf7785c44e9f6a060107 Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Sat, 6 Nov 2004 06:13:59 +0000 Subject: * 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 --- lib/webrick/config.rb | 1 - lib/webrick/server.rb | 3 --- 2 files changed, 4 deletions(-) (limited to 'lib') 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 -- cgit