[#78633] ruby/spec needs help from CRuby committers — Benoit Daloze <eregontp@...>
Currently, ruby/spec is maintained mostly by individuals and enjoys the
13 messages
2016/12/13
[#78963] Re: ruby/spec needs help from CRuby committers
— Urabe Shyouhei <shyouhei@...>
2017/01/04
I did ask attendees of last developer meeting to join this
[#78642] Re: ruby/spec needs help from CRuby committers
— Eric Wong <normalperson@...>
2016/12/14
Benoit Daloze <eregontp@gmail.com> wrote:
[ruby-core:78527] [Ruby trunk Bug#13007] Webbrick takes 5s to start when machine name looks like a real domain
From:
shyouhei@...
Date:
2016-12-07 08:27:08 UTC
List:
ruby-core #78527
Issue #13007 has been updated by Shyouhei Urabe.
Hmm, I see. No objection for the approach then.
----------------------------------------
Bug #13007: Webbrick takes 5s to start when machine name looks like a real domain
https://bugs.ruby-lang.org/issues/13007#change-61911
* Author: Michael Grosser
* Status: Open
* Priority: Normal
* Assignee:
* ruby -v: 2.3.3
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
sudo scutil --set HostName foo.local
ruby -r socket -e "Socket.gethostbyname(Socket.gethostname)"
or much simpler:
ruby -r socket -e "Socket.gethostbyname('foo.local')"
called from webrick/config.rb:24 ... Utils::getservername
Ideally this should be lazy, so I can override ServerName and avoid this ...
or not do a remote lookup at all by default
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>