From fd12b99fc3e073e88cca56131beb4dac5aeb0b8a Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Wed, 16 Mar 2016 02:40:31 +0100 Subject: Allow 10MB bodies in POST --- src/catlfish_web.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -> -- cgit v1.1