diff options
Diffstat (limited to 'src')
-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 f017c54..99776c6 100644 --- a/src/gun_http2.erl +++ b/src/gun_http2.erl @@ -538,9 +538,7 @@ terminate(State=#http2_state{socket=Socket, transport=Transport}, StreamID, Reas end. terminate_reason({connection_error, Reason, _}) -> Reason; -terminate_reason({stop, _, _}) -> no_error; -terminate_reason({socket_error, _, _}) -> internal_error; -terminate_reason({internal_error, _, _}) -> internal_error. +terminate_reason({stop, _, _}) -> no_error. %% Stream functions. |