aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cowboy_req.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_req.erl b/src/cowboy_req.erl
index ffc6e12..9417ad1 100644
--- a/src/cowboy_req.erl
+++ b/src/cowboy_req.erl
@@ -88,7 +88,7 @@
-export_type([cookie_opts/0]).
-type read_body_opts() :: #{
- length => non_neg_integer(),
+ length => non_neg_integer() | infinity,
period => non_neg_integer(),
timeout => timeout()
}.