diff options
Diffstat (limited to 'test/handlers/loop_handler_body_h.erl')
-rw-r--r-- | test/handlers/loop_handler_body_h.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/handlers/loop_handler_body_h.erl b/test/handlers/loop_handler_body_h.erl index 096fb3d..0d4fd4d 100644 --- a/test/handlers/loop_handler_body_h.erl +++ b/test/handlers/loop_handler_body_h.erl @@ -16,7 +16,7 @@ init(Req, _) -> info(timeout, Req, State) -> {ok, Body, Req2} = cowboy_req:body(Req), 100000 = byte_size(Body), - {shutdown, cowboy_req:reply(200, Req2), State}. + {stop, cowboy_req:reply(200, Req2), State}. -terminate(shutdown, _, _) -> +terminate(stop, _, _) -> ok. |