From 8cbd8c1882e33380875f2723cad258784ba3a360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 7 Nov 2014 19:22:36 +0200 Subject: Rename 'shutdown' close reason and tuples to 'stop' The 'shutdown' atom has a specific meaning inside OTP. We are instead going to use 'stop' which is pretty much the equivalent of what we actually do. 'shutdown' is now reserved for future special processes implementation. --- test/handlers/loop_handler_timeout_h.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/handlers/loop_handler_timeout_h.erl') 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. -- cgit v1.2.3