diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/webrick/server.rb | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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) |