зеркало из https://github.com/github/ruby.git
9b11fc8032
to :RequestCallback and add new option :ServerAlias. * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): use :RequestCallback and warn if :RequestHandler is in server's option. * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should print error message for WEBrick::HTTPSataus::Error. * lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server): lookup for hostname from :ServerAlias if the req.host is not match to :ServerName. * lib/webrick/httpservlet.rb (WEBrick::HTTPServlet::CGIHandler#do_GET): use $?.exitstatus and refine log message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
||
---|---|---|
.. | ||
httpauth | ||
httpservlet | ||
accesslog.rb | ||
cgi.rb | ||
compat.rb | ||
config.rb | ||
cookie.rb | ||
htmlutils.rb | ||
httpauth.rb | ||
httpproxy.rb | ||
httprequest.rb | ||
httpresponse.rb | ||
https.rb | ||
httpserver.rb | ||
httpservlet.rb | ||
httpstatus.rb | ||
httputils.rb | ||
httpversion.rb | ||
log.rb | ||
server.rb | ||
ssl.rb | ||
utils.rb | ||
version.rb |