1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/webrick/httpservlet
gotoyuzo ddae426a47 * 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
2003-09-08 09:52:34 +00:00
..
abstract.rb * lib/webrick: imported. 2003-07-23 16:51:36 +00:00
cgi_runner.rb * lib/webrick: imported. 2003-07-23 16:51:36 +00:00
cgihandler.rb * lib/webrick: imported. 2003-07-23 16:51:36 +00:00
erbhandler.rb * lib/webrick: imported. 2003-07-23 16:51:36 +00:00
filehandler.rb * lib/webrick/accesslog.rb (AccessLog::setup_params): use req.port 2003-09-08 09:52:34 +00:00
prochandler.rb * lib/webrick: imported. 2003-07-23 16:51:36 +00:00