diff options
author | Loïc Hoguin <[email protected]> | 2018-06-04 08:41:52 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-06-04 08:41:52 +0200 |
commit | 61cd503e7d54660628bde42669432677f3b4f27e (patch) | |
tree | c7f0155a065a4c1cd11692e72ccda4c5a8bec105 /src | |
parent | 93c88fdc541c3f8a4ebbae3699bee90d00dc637f (diff) | |
download | gun-61cd503e7d54660628bde42669432677f3b4f27e.tar.gz gun-61cd503e7d54660628bde42669432677f3b4f27e.tar.bz2 gun-61cd503e7d54660628bde42669432677f3b4f27e.zip |
Add some todos for later
Diffstat (limited to 'src')
-rw-r--r-- | src/gun_http2.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gun_http2.erl b/src/gun_http2.erl index cf83970..548423d 100644 --- a/src/gun_http2.erl +++ b/src/gun_http2.erl @@ -524,6 +524,8 @@ down(#http2_state{streams=Streams}) -> terminate(#http2_state{streams=Streams}, Reason) -> %% Because a particular stream is unknown, %% we're sending the error message to all streams. + %% @todo We should not send duplicate messages to processes. + %% @todo We should probably also inform the owner process. _ = [ReplyTo ! {gun_error, self(), Reason} || #stream{reply_to=ReplyTo} <- Streams], %% @todo Send GOAWAY frame. %% @todo LastGoodStreamID |