Feature #6559

Set DoNotReverseLookup to true in Webrick

Added by Rodrigo Rosenfeld Rosas almost 2 years ago. Updated over 1 year ago.

[ruby-core:45514]
Status:Assigned
Priority:Normal
Assignee:Hiroshi Nakamura
Category:lib
Target version:next minor

Description

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 Magnifier (432 Bytes) Eric Hodel, 06/09/2012 08:42 AM

History

#1 Updated by Eric Hodel almost 2 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 Updated by Yusuke Endoh over 1 year ago

  • Target version changed from 2.0.0 to next minor

Also available in: Atom PDF