diff options
author | Loïc Hoguin <[email protected]> | 2015-02-01 19:36:13 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-02-03 18:54:26 +0100 |
commit | 3cede06283a2b7b33ec822526341a9261574a2bf (patch) | |
tree | 4bfbb99282926f163b19f696c615a811f80ad403 /test | |
parent | 41ac668ac771eb84f21c335810d946c2557acabd (diff) | |
download | cowboy-3cede06283a2b7b33ec822526341a9261574a2bf.tar.gz cowboy-3cede06283a2b7b33ec822526341a9261574a2bf.tar.bz2 cowboy-3cede06283a2b7b33ec822526341a9261574a2bf.zip |
Use cowlib master
Diffstat (limited to 'test')
-rw-r--r-- | test/handlers/input_crash_h.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/handlers/input_crash_h.erl b/test/handlers/input_crash_h.erl index e941cca..c67bb0c 100644 --- a/test/handlers/input_crash_h.erl +++ b/test/handlers/input_crash_h.erl @@ -6,5 +6,5 @@ -export([init/2]). init(Req, content_length) -> - cowboy_error_h:ignore(cow_http_hd, number, 2), + cowboy_error_h:ignore(erlang, binary_to_integer, 1), cowboy_req:parse_header(<<"content-length">>, Req). |