diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-19 11:31:05 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-19 11:31:30 -0800 |
commit | 0a3f57e85a0825f31d93303eb6f2c7f40fce57f8 (patch) | |
tree | 83605db23bd92e4b1945443028d41de14100b6b7 /railties | |
parent | c5ebbfaf5b1191ece1988636496c35e246addada (diff) | |
download | rails-0a3f57e85a0825f31d93303eb6f2c7f40fce57f8.tar.gz rails-0a3f57e85a0825f31d93303eb6f2c7f40fce57f8.tar.bz2 rails-0a3f57e85a0825f31d93303eb6f2c7f40fce57f8.zip |
do not do reverse lookups on incoming requests for webrick. fixes #4542
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/commands/server.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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, |