0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-16 05:00:24 +00:00

Add a lot of todos

This commit is contained in:
Loïc Hoguin 2016-08-10 11:52:41 +02:00
parent ae0dd61673
commit 3a057683af
7 changed files with 36 additions and 0 deletions

View file

@ -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),