Feature #6559

Set DoNotReverseLookup to true in Webrick

Added by Rodrigo Rosenfeld Rosas about 4 years ago. Updated about 2 years ago.



I often find it annoying that it is too slow to test my web applications from VirtualBox because Webrick will try to do reverse lookup and I have set the names directly in the hosts file, so a reverse lookup will always time out.

Also I can't find a simple way for setting this behavior in a global way for all my rubies installed.

Could we please try to improve this behavior? I'm certainly not the first one to complain about this...

webrick.do_not_reverse_lookup.patch View (432 Bytes) Eric Hodel, 06/09/2012 08:42 AM


#1 [ruby-core:45527] Updated by Eric Hodel about 4 years ago

Here is a patch to disable reverse lookup by default.

I don't think this can be backported to ruby 1.9.3 since it is a behavior change.

#2 [ruby-core:49740] Updated by Yusuke Endoh over 3 years ago

  • Target version changed from 2.0.0 to next minor

#3 [ruby-core:63351] Updated by Rodrigo Rosenfeld Rosas about 2 years ago

Would this be possible to be included in 2.2.0?

Also available in: Atom PDF