aboutsummaryrefslogtreecommitdiffstats
path: root/test/chunked_handler.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/chunked_handler.erl')
-rw-r--r--test/chunked_handler.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/chunked_handler.erl b/test/chunked_handler.erl
index 38305fd..4a43c1a 100644
--- a/test/chunked_handler.erl
+++ b/test/chunked_handler.erl
@@ -2,7 +2,7 @@
-module(chunked_handler).
-behaviour(cowboy_http_handler).
--export([init/3, handle/2, terminate/2]).
+-export([init/3, handle/2, terminate/3]).
init({_Transport, http}, Req, _Opts) ->
{ok, Req, undefined}.
@@ -13,5 +13,5 @@ handle(Req, State) ->
cowboy_req:chunk("works fine!", Req2),
{ok, Req2, State}.
-terminate(_Req, _State) ->
+terminate(_, _, _) ->
ok.