Actions
Feature #6559
closedSet DoNotReverseLookup to true in Webrick
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...
Files
Updated by drbrain (Eric Hodel) over 12 years ago
- File webrick.do_not_reverse_lookup.patch webrick.do_not_reverse_lookup.patch added
- Status changed from Open to Assigned
- Assignee set to nahi (Hiroshi Nakamura)
- Target version changed from 1.9.3 to 2.0.0
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.
Updated by mame (Yusuke Endoh) almost 12 years ago
- Target version changed from 2.0.0 to 2.6
Updated by rosenfeld (Rodrigo Rosenfeld Rosas) over 10 years ago
Would this be possible to be included in 2.2.0?
Updated by naruse (Yui NARUSE) about 8 years ago
- Assignee changed from nahi (Hiroshi Nakamura) to naruse (Yui NARUSE)
Updated by naruse (Yui NARUSE) about 8 years ago
- Status changed from Assigned to Closed
Applied in changeset r55881.
- lib/webrick/config.rb (WEBrick::Config::General):
disable reverse lookup by default. [ruby-core:45514] [Feature #6559]
Socket.do_not_reverse_lookup is true by default but WEBrick
overwrote it.
patch by Eric Hodel [ruby-core:45527]
Updated by shyouhei (Shyouhei Urabe) almost 8 years ago
- Related to Bug #13007: Webbrick takes 5s to start when machine name looks like a real domain added
Actions
Like0
Like0Like0Like0Like0Like0Like0