From ddc87f339f441fe5b62455606cf6ed6fb8dbc461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 26 Sep 2019 13:40:26 +0200 Subject: Remove UnprocessedStreams from the gun_down message --- src/gun_http2.erl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gun_http2.erl') diff --git a/src/gun_http2.erl b/src/gun_http2.erl index bbc76ab..6a443e3 100644 --- a/src/gun_http2.erl +++ b/src/gun_http2.erl @@ -724,10 +724,8 @@ stream_info(State, StreamRef) -> {ok, undefined} end. -%% @todo Add unprocessed streams when GOAWAY handling is done. down(#http2_state{streams=Streams}) -> - KilledStreams = [Ref || #stream{ref=Ref} <- Streams], - {KilledStreams, []}. + [Ref || #stream{ref=Ref} <- Streams]. connection_error(#http2_state{socket=Socket, transport=Transport, http2_machine=HTTP2Machine, streams=Streams}, -- cgit v1.2.3