summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2016-02-21 11:27:03 +0100
committerLinus Nordberg <linus@nordu.net>2016-02-21 11:27:03 +0100
commite6b1d5a4a8227603eaeb986e9594b595e847832b (patch)
treeae0c3d7e58f6015e214ec32060768aea62e60c2b
parent57b83a85cbd70ade26fa3d7651c3a04441c43813 (diff)
Allow larger HTTP requests.gaol6
1MB -> 4MB.
-rw-r--r--src/catlfish_web.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catlfish_web.erl b/src/catlfish_web.erl
index f44745d..492c652 100644
--- a/src/catlfish_web.erl
+++ b/src/catlfish_web.erl
@@ -60,7 +60,7 @@ loop(Req, Module) ->
Req:respond(Result)
end;
'POST' ->
- Body = Req:recv_body(),
+ Body = Req:recv_body(4096 * 1024),
Result = case http_auth:verify_auth(AuthHeader, "POST",
Path, Body) of
failure ->