diff options
Diffstat (limited to 'test/handlers/loop_handler_body_h.erl')
-rw-r--r-- | test/handlers/loop_handler_body_h.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/handlers/loop_handler_body_h.erl b/test/handlers/loop_handler_body_h.erl index db69b02..559ef90 100644 --- a/test/handlers/loop_handler_body_h.erl +++ b/test/handlers/loop_handler_body_h.erl @@ -17,8 +17,7 @@ init(_, Req, _) -> info(timeout, Req, State) -> {ok, Body, Req2} = cowboy_req:body(Req), 100000 = byte_size(Body), - {ok, Req3} = cowboy_req:reply(200, Req2), - {ok, Req3, State}. + {ok, cowboy_req:reply(200, Req2), State}. terminate({normal, shutdown}, _, _) -> ok. |