ruby/lib/webrick/httpservlet
normal 89450a80fc webrick/httpservlet/cgihandler: reduce memory use
WEBrick::HTTPRequest#body can be passed a block to process the
body in chunks.  Use this feature to avoid building a giant
string in memory.

* lib/webrick/httpservlet/cgihandler.rb (do_GET):
  avoid reading entire request body into memory
  (do_POST is aliased to do_GET, so it handles bodies)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-28 08:06:28 +00:00
..
abstract.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
cgi_runner.rb webrick/httpservelet/cgi_runner: avoid IO#reopen on pathname 2017-12-22 05:59:11 +00:00
cgihandler.rb webrick/httpservlet/cgihandler: reduce memory use 2018-03-28 08:06:28 +00:00
erbhandler.rb webrick/httpservlet/*handler: use File.open 2017-12-22 01:08:00 +00:00
filehandler.rb webrick: use IO.copy_stream for multipart response 2018-03-28 08:06:18 +00:00
prochandler.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00