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 * lib/webrick/server.rb (WEBrick::GenericServer#start_thread): 2004-12-15 08:47:49 +00:00
cgi.rb * lib/webrick/cgi.rb (WEBrick::CGI#start): req.query_string should 2005-09-28 06:16:59 +00:00
compat.rb * lib/webrick/ssl.rb: new file; SSL/TLS enhancement for GenericServer. 2003-08-19 06:00:36 +00:00
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 * lib/webrick: imported. 2003-07-23 16:51:36 +00:00
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 * lib/webrick/cgi.rb (CGI): add support for mod_ruby. 2003-12-22 21:13:06 +00:00
httpserver.rb * lib/webrick/httpproxy.rb (HTTPProxyServer#intialize), 2005-08-07 20:16:15 +00:00
httpservlet.rb * lib/webrick: imported. 2003-07-23 16:51:36 +00:00
httpstatus.rb * lib/webrick: imported. 2003-07-23 16:51:36 +00:00
httputils.rb * lib/webrick/httpproxy.rb (HTTPProxyServer#intialize), 2005-08-07 20:16:15 +00:00
httpversion.rb * lib/webrick: imported. 2003-07-23 16:51:36 +00:00
log.rb * lib/webrick/log.rb (BasicLog#log): get rid of as ineffectual 2003-09-18 16:09:02 +00:00
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 * lib/webrick: imported. 2003-07-23 16:51:36 +00:00