diff options
Diffstat (limited to 'test/handlers/input_crash_h.erl')
-rw-r--r-- | test/handlers/input_crash_h.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/handlers/input_crash_h.erl b/test/handlers/input_crash_h.erl index 668d053..e941cca 100644 --- a/test/handlers/input_crash_h.erl +++ b/test/handlers/input_crash_h.erl @@ -3,8 +3,8 @@ -module(input_crash_h). --export([init/3]). +-export([init/2]). -init(_, Req, content_length) -> +init(Req, content_length) -> cowboy_error_h:ignore(cow_http_hd, number, 2), cowboy_req:parse_header(<<"content-length">>, Req). |