aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_http.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-07-27 17:24:16 +0200
committerLoïc Hoguin <[email protected]>2020-09-21 15:51:56 +0200
commit048224a888b3331796e66dd974c6d75234e09036 (patch)
tree05c8fb099619cd6d8a2cfd57d9dd87fed47686d0 /src/gun_http.erl
parent323bd167fd33f322ab8747e398e54a8a36f5b753 (diff)
downloadgun-048224a888b3331796e66dd974c6d75234e09036.tar.gz
gun-048224a888b3331796e66dd974c6d75234e09036.tar.bz2
gun-048224a888b3331796e66dd974c6d75234e09036.zip
Add HTTP/2 CONNECT tests with Cowboy as origin
Diffstat (limited to 'src/gun_http.erl')
-rw-r--r--src/gun_http.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gun_http.erl b/src/gun_http.erl
index 982df82..6b511a3 100644
--- a/src/gun_http.erl
+++ b/src/gun_http.erl
@@ -515,6 +515,8 @@ close_reason(closed) -> closed;
close_reason(Reason) -> {closed, Reason}.
%% @todo Do we want an event for this?
+%%
+%% @todo Need to propagate stream closing to tunneled streams.
close_streams(_, [], _) ->
ok;
close_streams(State, [#stream{is_alive=false}|Tail], Reason) ->