From 61cd503e7d54660628bde42669432677f3b4f27e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 4 Jun 2018 08:41:52 +0200 Subject: Add some todos for later --- src/gun_http2.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gun_http2.erl') 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 -- cgit v1.2.3