summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-09 04:46:55 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-09 04:46:55 +0000
commita5505ab8334fc6948b5745d3fc21011b67f844eb (patch)
tree24752c0399e088e3baebe40dd6b9e2ad5143d762
parent251dec5cf13b5ac9e1d2c115958be0ad23e799c5 (diff)
* lib/webrick/server.rb (WEBrick::HTTPServer#start):
:DoNotReverseLookup option had not been performed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/webrick/server.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 697dcd262e..1c02d85929 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jan 9 13:45:52 2008 GOTOU Yuuzou <gotoyuzo@notwork.org>
+
+ * lib/webrick/server.rb (WEBrick::HTTPServer#start):
+ :DoNotReverseLookup option had not been performed.
+
Wed Jan 9 13:03:34 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_enc_cr_str_buf_cat): do not recalculate coderange
diff --git a/lib/webrick/server.rb b/lib/webrick/server.rb
index 54375d2e7d..68501517c1 100644
--- a/lib/webrick/server.rb
+++ b/lib/webrick/server.rb
@@ -91,6 +91,7 @@ module WEBrick
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)