Skip to content

Commit

Permalink
Use GOAWAY reason NO_ERROR in client-initiated graceful shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
zuiderkwast committed May 11, 2023
1 parent db0655d commit 273fb59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gun_http2.erl
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,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(
Expand Down

0 comments on commit 273fb59

Please sign in to comment.