aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http2.erl
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 /src/cowboy_http2.erl
parentae0dd616737d8e1116de4a04be0bc84188997eb0 (diff)
downloadcowboy-3a057683afc79c8f26b37ff12507032df201fc7e.tar.gz
cowboy-3a057683afc79c8f26b37ff12507032df201fc7e.tar.bz2
cowboy-3a057683afc79c8f26b37ff12507032df201fc7e.zip
Add a lot of todos
Diffstat (limited to 'src/cowboy_http2.erl')
-rw-r--r--src/cowboy_http2.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cowboy_http2.erl b/src/cowboy_http2.erl
index 7bd48a7..f7a9634 100644
--- a/src/cowboy_http2.erl
+++ b/src/cowboy_http2.erl
@@ -418,7 +418,9 @@ commands(State=#state{socket=Socket, transport=Transport}, Stream=#stream{id=Str
[{data, IsFin, Data}|Tail]) ->
Transport:send(Socket, cow_http2:data(StreamID, IsFin, Data)),
commands(State, Stream#stream{local=IsFin}, Tail);
+
%% @todo data when local!=nofin
+
%% Send a file.
%%
%% @todo This implementation is terrible. A good implementation would