diff options
author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-08 09:52:34 +0000 |
---|---|---|
committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-08 09:52:34 +0000 |
commit | ddae426a47653b29f5e84e84d73437259e58a4c6 (patch) | |
tree | a9c74524a00d0730e7252a1780284c9001dbd608 /lib/webrick/config.rb | |
parent | 865ff7fb4f11bbf1f0e139e16470727828f54e63 (diff) | |
download | ruby-ddae426a47653b29f5e84e84d73437259e58a4c6.tar.gz |
* lib/webrick/accesslog.rb (AccessLog::setup_params): use req.port
instead of config[:Port] or req.request_uri.port.
* lib/webrick/httprequest.rb (HTTPRequest#meta_vars): ditto.
* lib/webrick/httpservlet/filehandler.rb (FileHandler#dir_list): ditto.
* lib/webrick/config.rb: :Listen option never be used.
* lib/webrick/server.rb (GenericServer#initialize): don't use :Listen
option and add warning message.
* lib/webrick/log.rb (BasicLog#<<): shortcut of log(INFO, ...).
* lib/webrick/httpserver.rb (HTTPServer#accesslog): use << for logging.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/webrick/config.rb')
-rw-r--r-- | lib/webrick/config.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/webrick/config.rb b/lib/webrick/config.rb index 229beada08..31c0053363 100644 --- a/lib/webrick/config.rb +++ b/lib/webrick/config.rb @@ -23,7 +23,6 @@ module WEBrick :ServerName => Utils::getservername, :BindAddress => nil, # "0.0.0.0" or "::" or nil :Port => nil, # users MUST specifiy this!! - :Listen => [], # list of pairs of alt addr/port. :MaxClients => 100, # maximum number of the concurrent connections :ServerType => nil, # default: WEBrick::SimpleServer :Logger => nil, # default: WEBrick::Log.new |