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:
parent
ae0dd61673
commit
3a057683af
7 changed files with 36 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue