Actions
Bug #13007
closedWebbrick takes 5s to start when machine name looks like a real domain
Bug #13007:
Webbrick takes 5s to start when machine name looks like a real domain
Description
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
Actions