diff options
author | Linus Nordberg <linus@nordu.net> | 2016-02-21 11:27:03 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2016-02-21 11:27:03 +0100 |
commit | e6b1d5a4a8227603eaeb986e9594b595e847832b (patch) | |
tree | ae0c3d7e58f6015e214ec32060768aea62e60c2b /src | |
parent | 57b83a85cbd70ade26fa3d7651c3a04441c43813 (diff) |
Allow larger HTTP requests.gaol6
1MB -> 4MB.
Diffstat (limited to 'src')
-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..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 -> |