diff options
author | Magnus Ahltorp <map@kth.se> | 2016-03-16 02:40:31 +0100 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2016-03-16 02:40:31 +0100 |
commit | fd12b99fc3e073e88cca56131beb4dac5aeb0b8a (patch) | |
tree | f2e9d56293810afee54c8a3e6a81810a5e849d1a | |
parent | 1a9625f9fb0fb369246188e047a3919b8f69c845 (diff) |
Allow 10MB bodies in POSTlarge-body
-rw-r--r-- | src/catlfish_web.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catlfish_web.erl b/src/catlfish_web.erl index f44745d..97a967b 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(10*1024*1024), Result = case http_auth:verify_auth(AuthHeader, "POST", Path, Body) of failure -> |