aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gun_http2.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gun_http2.erl b/src/gun_http2.erl
index 4903258..9b6353d 100644
--- a/src/gun_http2.erl
+++ b/src/gun_http2.erl
@@ -900,6 +900,7 @@ closing(Reason0, State=#http2_state{socket=Socket, transport=Transport,
Reason = case Reason0 of
normal -> no_error;
owner_down -> no_error;
+ shutdown -> no_error;
_ -> internal_error
end,
case Transport:send(Socket, cow_http2:goaway(