From 0a3f57e85a0825f31d93303eb6f2c7f40fce57f8 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 19 Jan 2012 11:31:05 -0800 Subject: do not do reverse lookups on incoming requests for webrick. fixes #4542 --- railties/lib/rails/commands/server.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'railties/lib/rails/commands/server.rb') diff --git a/railties/lib/rails/commands/server.rb b/railties/lib/rails/commands/server.rb index 20484a10c8..ea774eb16c 100644 --- a/railties/lib/rails/commands/server.rb +++ b/railties/lib/rails/commands/server.rb @@ -89,6 +89,7 @@ module Rails def default_options super.merge({ :Port => 3000, + :DoNotReverseLookup => true, :environment => (ENV['RAILS_ENV'] || "development").dup, :daemonize => false, :debugger => false, -- cgit v1.2.3