aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_handler_loop_timeout.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/http_handler_loop_timeout.erl')
-rw-r--r--test/http_handler_loop_timeout.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http_handler_loop_timeout.erl b/test/http_handler_loop_timeout.erl
index 0e8c78f..c9bb15f 100644
--- a/test/http_handler_loop_timeout.erl
+++ b/test/http_handler_loop_timeout.erl
@@ -9,7 +9,7 @@ init({_, http}, Req, _) ->
{loop, Req, undefined, 500, hibernate}.
info(error_timeout, Req, State) ->
- {ok, Req2} = cowboy_http_req:reply(500, Req),
+ {ok, Req2} = cowboy_req:reply(500, Req),
{ok, Req2, State}.
terminate(_, _) ->