aboutsummaryrefslogtreecommitdiffstats
path: root/guide/req.md
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-03-05 17:49:58 +0100
committerLoïc Hoguin <[email protected]>2013-03-05 21:54:35 +0100
commit233cf43ab9c6c16d22e14039a79606fc935693d6 (patch)
tree22ab1570534f9ec2dc00995d797eafe97377dbf7 /guide/req.md
parent55e98f4f61b8a7da470bed5e1473c1a186cf8c1f (diff)
downloadcowboy-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 'guide/req.md')
-rw-r--r--guide/req.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/guide/req.md b/guide/req.md
index e13d3a5..8fd854a 100644
--- a/guide/req.md
+++ b/guide/req.md
@@ -94,7 +94,8 @@ If you know the request contains a body, and that it is
of appropriate size, then you can read it directly with
either `body/1` or `body_qs/1`. Otherwise, you will want
to stream it with `stream_body/1` and `skip_body/1`, with
-the streaming process optionally initialized using `init_stream/4`.
+the streaming process optionally initialized using `init_stream/4`
+or `init_stream/5`.
Multipart request body
----------------------