summaryrefslogtreecommitdiffstats
path: root/lib
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
commit6891c0c72944456e4a217553733a99faf9c2d6a0 (patch)
tree24752c0399e088e3baebe40dd6b9e2ad5143d762 /lib
parentcab0b0bf6d543f7b1930a1bf760fd600468ac25d (diff)
downloadruby-6891c0c72944456e4a217553733a99faf9c2d6a0.tar.gz
ruby-6891c0c72944456e4a217553733a99faf9c2d6a0.tar.xz
ruby-6891c0c72944456e4a217553733a99faf9c2d6a0.zip
* lib/webrick/server.rb (WEBrick::HTTPServer#start):
:DoNotReverseLookup option had not been performed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/webrick/server.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/webrick/server.rb b/lib/webrick/server.rb
index 54375d2e7..68501517c 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)