[ruby-cvs:64180] shugo:r57014 (trunk): Delay Utils.getservername until needed.

shugo at ruby-lang.org shugo at ruby-lang.org
Wed Dec 7 21:59:49 JST 2016


shugo	2016-12-07 21:59:48 +0900 (Wed, 07 Dec 2016)

  New Revision: 57014

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57014

  Log:
    Delay Utils.getservername until needed.
    
    There is no need to call Utils.getservername when the :ServerName option is
    specified, so delay Utils.getservername until needed to avoid unnecessary
    DNS lookups.  [ruby-core:78492] [Bug #13007]

  Added files:
    trunk/test/webrick/test_config.rb
  Modified files:
    trunk/lib/webrick/config.rb


More information about the ruby-cvs mailing list