1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/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
..
test_cgi.rb * test/webrick/test_cgi.rb: should support platforms which search 2006-02-22 07:27:20 +00:00
test_cookie.rb * lib/webrick/httpservlet/cgihandler.rb 2005-10-30 20:40:05 +00:00
test_filehandler.rb * eval.c: unify ruby_class (for method definition) and ruby_cbase 2006-02-03 09:15:42 +00:00
test_httpauth.rb
test_httprequest.rb
test_httpserver.rb
test_httputils.rb * lib/webrick/cgi.rb: new methods WEBrick::CGI#[], WEBrick::CGI#logger 2005-04-29 22:10:56 +00:00
test_httpversion.rb
test_server.rb * test/webrick/test_server.rb (test_daemon): delete an assertion 2005-01-08 19:09:12 +00:00
test_utils.rb * lib/webrick/config.rb (WEBrick::Config::HTTP): add new parameters, 2006-05-18 13:42:52 +00:00
utils.rb * test/webrick/utils.rb: resuce LoadError. 2005-01-10 07:58:55 +00:00
webrick.cgi * lib/webrick/httpservlet/cgihandler.rb 2005-10-30 20:40:05 +00:00