summaryrefslogtreecommitdiffstats
path: root/ruby.h
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-05-18 13:42:52 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-05-18 13:42:52 +0000
commit3c9db8d6ac19de67cb2d34f3392e4844a1dd1c3b (patch)
tree0b8f535b800ed312033ff5db7e6ac45415ea15fd /ruby.h
parent451d6b2b00e6815e42b4c357bab8c5a32aa80529 (diff)
downloadruby-3c9db8d6ac19de67cb2d34f3392e4844a1dd1c3b.tar.gz
ruby-3c9db8d6ac19de67cb2d34f3392e4844a1dd1c3b.tar.xz
ruby-3c9db8d6ac19de67cb2d34f3392e4844a1dd1c3b.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@10167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
0 files changed, 0 insertions, 0 deletions