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
gotoyuzo 9a012539ba * lib/webrick/config.rb (WEBrick::Config::HTTP): add new parameters,
:InputBufferSize and :OutputBufferSize.

* lib/webrick/utils.rb (WEBrick::Utils.timeout): add new timeout
  method. this implementation is expected to be compatible with
  timeout.rb and faster than timeout.rb.

* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#_read_data):
  Timeout.timeout is replaced by WEBrick::Utils.timeout.

* lib/webrick/httprequest.rb: WEBrick::HTTPRequest::BUFSIZE is
  replaced by config[:InputBufferSize].

* lib/webrick/httpresposne.rb: WEBrick::HTTPResponse::BUFSIZE is
  replaced by config[:OutputBufferSize].

* lib/webrick/server.rb: get rid of unnecessary require.

* test/webrick/test_utils.rb: test for WEBrick::Utils.timeout.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-18 13:42:52 +00:00
..
httpauth cosmetic. 2005-07-03 14:54:20 +00:00
httpservlet * mkconfig.rb: generate RbConfig instead of Config. 2006-02-20 08:34:53 +00:00
accesslog.rb
cgi.rb * lib/webrick/cgi.rb (WEBrick::CGI#start): req.query_string should 2005-09-28 06:16:59 +00:00
compat.rb
config.rb * lib/webrick/config.rb (WEBrick::Config::HTTP): add new parameters, 2006-05-18 13:42:52 +00:00
cookie.rb * lib/webrick/httpservlet/cgihandler.rb 2005-10-30 20:40:05 +00:00
htmlutils.rb
httpauth.rb * lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload): 2005-01-02 22:31:13 +00:00
httpproxy.rb * lib/webrick/httpproxy.rb (HTTPProxyServer#intialize), 2005-08-07 20:16:15 +00:00
httprequest.rb * lib/webrick/config.rb (WEBrick::Config::HTTP): add new parameters, 2006-05-18 13:42:52 +00:00
httpresponse.rb * lib/webrick/config.rb (WEBrick::Config::HTTP): add new parameters, 2006-05-18 13:42:52 +00:00
https.rb
httpserver.rb * lib/webrick/httpproxy.rb (HTTPProxyServer#intialize), 2005-08-07 20:16:15 +00:00
httpservlet.rb
httpstatus.rb
httputils.rb * lib/webrick/httpproxy.rb (HTTPProxyServer#intialize), 2005-08-07 20:16:15 +00:00
httpversion.rb
log.rb
server.rb * lib/webrick/config.rb (WEBrick::Config::HTTP): add new parameters, 2006-05-18 13:42:52 +00:00
ssl.rb * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line): should 2005-01-10 06:29:58 +00:00
utils.rb * lib/webrick/config.rb (WEBrick::Config::HTTP): add new parameters, 2006-05-18 13:42:52 +00:00
version.rb