aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_handler_loop_timeout.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-08-27 12:46:42 +0200
committerLoïc Hoguin <[email protected]>2012-08-27 12:50:00 +0200
commitcc2e084d456c99b3d71f09c08f516195b6015dae (patch)
tree7fafcb37fe43e06c80032fd52c238f460c93d9ad /test/http_handler_loop_timeout.erl
parent10adcdbc7dce733fa300fffdd11ce24ae7c17e38 (diff)
downloadcowboy-cc2e084d456c99b3d71f09c08f516195b6015dae.tar.gz
cowboy-cc2e084d456c99b3d71f09c08f516195b6015dae.tar.bz2
cowboy-cc2e084d456c99b3d71f09c08f516195b6015dae.zip
Update behaviours for R15B+
This effectively drops the R14B compatibility. The cowboy_req:req() type will be introduced in a future commit. It refers to the #http_req{} record.
Diffstat (limited to 'test/http_handler_loop_timeout.erl')
-rw-r--r--test/http_handler_loop_timeout.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/http_handler_loop_timeout.erl b/test/http_handler_loop_timeout.erl
index 76d6ea8..0e8c78f 100644
--- a/test/http_handler_loop_timeout.erl
+++ b/test/http_handler_loop_timeout.erl
@@ -1,6 +1,7 @@
%% Feel free to use, reuse and abuse the code in this file.
-module(http_handler_loop_timeout).
+-behaviour(cowboy_loop_handler).
-export([init/3, info/3, terminate/2]).
init({_, http}, Req, _) ->