[前][次][番号順一覧][スレッド一覧]

ruby-changes:3468

From: ko1@a...
Date: 9 Jan 2008 13:47:08 +0900
Subject: [ruby-changes:3468] gotoyuzo - Ruby:r14961 (trunk): * lib/webrick/server.rb (WEBrick::HTTPServer#start):

gotoyuzo	2008-01-09 13:46:55 +0900 (Wed, 09 Jan 2008)

  New Revision: 14961

  Modified files:
    trunk/ChangeLog
    trunk/lib/webrick/server.rb

  Log:
    * lib/webrick/server.rb (WEBrick::HTTPServer#start):
      :DoNotReverseLookup option had not been performed.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14961&r2=14960&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/webrick/server.rb?r1=14961&r2=14960&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14960)
+++ ChangeLog	(revision 14961)
@@ -1,3 +1,8 @@
+Wed Jan  9 13:45:52 2008  GOTOU Yuuzou  <gotoyuzo@n...>
+
+	* lib/webrick/server.rb (WEBrick::HTTPServer#start):
+	  :DoNotReverseLookup option had not been performed.
+
 Wed Jan  9 13:03:34 2008  Yukihiro Matsumoto  <matz@r...>
 
 	* string.c (rb_enc_cr_str_buf_cat): do not recalculate coderange
Index: lib/webrick/server.rb
===================================================================
--- lib/webrick/server.rb	(revision 14960)
+++ lib/webrick/server.rb	(revision 14961)
@@ -91,6 +91,7 @@
               svrs[0].each{|svr|
                 @tokens.pop          # blocks while no token is there.
                 if sock = accept_client(svr)
+                  sock.do_not_reverse_lookup = config[:DoNotReverseLookup]
                   th = start_thread(sock, &block)
                   th[:WEBrickThread] = true
                   thgroup.add(th)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧]