aboutsummaryrefslogtreecommitdiffstats
path: root/test/handlers/loop_handler_timeout_h.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/handlers/loop_handler_timeout_h.erl')
-rw-r--r--test/handlers/loop_handler_timeout_h.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/handlers/loop_handler_timeout_h.erl b/test/handlers/loop_handler_timeout_h.erl
index a1bfa51..6502a3a 100644
--- a/test/handlers/loop_handler_timeout_h.erl
+++ b/test/handlers/loop_handler_timeout_h.erl
@@ -15,7 +15,7 @@ init(Req, _) ->
{cowboy_loop, Req, undefined, 200, hibernate}.
info(timeout, Req, State) ->
- {shutdown, cowboy_req:reply(500, Req), State}.
+ {stop, cowboy_req:reply(500, Req), State}.
terminate(timeout, _, _) ->
ok.