aboutsummaryrefslogtreecommitdiffstats
path: root/transcode_data.h
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-28 08:06:39 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-28 08:06:39 +0000
commit96ada3800e5524ad052093a5e6f27f6670fa188b (patch)
tree39719e1b0b961d9364d8e49a01fe5bb1db2b0761 /transcode_data.h
parentc5de31db8272577c2c18dc1b0a597d13c1aa7e1e (diff)
downloadruby-96ada3800e5524ad052093a5e6f27f6670fa188b.tar.gz
webrick/httprequest: use InputBufferSize for chunked requests
While WEBrick::HTTPRequest#body provides a Proc interface for streaming large request bodies, clients must not force the server to use an excessively large chunk size. * lib/webrick/httprequest.rb (read_chunk_size): limit each read and block.call to :InputBufferSize in config. * test/webrick/test_httpserver.rb (test_big_chunks): new test git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transcode_data.h')
0 files changed, 0 insertions, 0 deletions