aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-08-10 11:52:41 +0200
committerLoïc Hoguin <[email protected]>2016-08-10 11:52:41 +0200
commit3a057683afc79c8f26b37ff12507032df201fc7e (patch)
tree6a6e60ec917a52c1e808abe9184bac4a2389ad14 /test
parentae0dd616737d8e1116de4a04be0bc84188997eb0 (diff)
downloadcowboy-3a057683afc79c8f26b37ff12507032df201fc7e.tar.gz
cowboy-3a057683afc79c8f26b37ff12507032df201fc7e.tar.bz2
cowboy-3a057683afc79c8f26b37ff12507032df201fc7e.zip
Add a lot of todos
Diffstat (limited to 'test')
-rw-r--r--test/handlers/long_polling_h.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/handlers/long_polling_h.erl b/test/handlers/long_polling_h.erl
index 4f8e23f..17afa0a 100644
--- a/test/handlers/long_polling_h.erl
+++ b/test/handlers/long_polling_h.erl
@@ -14,6 +14,7 @@ init(Req, _) ->
{cowboy_loop, Req, 2, 5000, hibernate}.
info(timeout, Req, 0) ->
+ %% @todo Why 102?
{stop, cowboy_req:reply(102, Req), 0};
info(timeout, Req, Count) ->
erlang:send_after(200, self(), timeout),