diff options
author | Loïc Hoguin <[email protected]> | 2013-03-05 17:49:58 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-03-05 21:54:35 +0100 |
commit | 233cf43ab9c6c16d22e14039a79606fc935693d6 (patch) | |
tree | 22ab1570534f9ec2dc00995d797eafe97377dbf7 /test/rest_simple_resource.erl | |
parent | 55e98f4f61b8a7da470bed5e1473c1a186cf8c1f (diff) | |
download | cowboy-233cf43ab9c6c16d22e14039a79606fc935693d6.tar.gz cowboy-233cf43ab9c6c16d22e14039a79606fc935693d6.tar.bz2 cowboy-233cf43ab9c6c16d22e14039a79606fc935693d6.zip |
Make streamed chunk size configurable
Defaults to a maximum of 1000000 bytes.
Also standardize the te_identity and te_chunked decoding functions.
Now they both try to read as much as possible (up to the limit),
making body reading much faster when not using chunked encoding.
Diffstat (limited to 'test/rest_simple_resource.erl')
0 files changed, 0 insertions, 0 deletions