diff options
author | Loïc Hoguin <[email protected]> | 2019-09-26 13:40:26 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-09-26 13:41:02 +0200 |
commit | ddc87f339f441fe5b62455606cf6ed6fb8dbc461 (patch) | |
tree | 7d33d7bf37d2216b2e6a72c0280c1e26dea2c7b8 /src/gun_http2.erl | |
parent | 00cc1f385f94823a0684deee001b643091e235b0 (diff) | |
download | gun-ddc87f339f441fe5b62455606cf6ed6fb8dbc461.tar.gz gun-ddc87f339f441fe5b62455606cf6ed6fb8dbc461.tar.bz2 gun-ddc87f339f441fe5b62455606cf6ed6fb8dbc461.zip |
Remove UnprocessedStreams from the gun_down message
Diffstat (limited to 'src/gun_http2.erl')
-rw-r--r-- | src/gun_http2.erl | 4 |
1 files changed, 1 insertions, 3 deletions
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}, |