tres/secure_channel: fix handler for error reason
This commit is contained in:
parent
f3d2ab1fb7
commit
4c12b0cef1
1 changed files with 1 additions and 1 deletions
|
|
@ -603,7 +603,7 @@ defmodule Tres.SecureChannel do
|
||||||
{:stop, :normal, %{state_data | socket: nil}}
|
{:stop, :normal, %{state_data | socket: nil}}
|
||||||
end
|
end
|
||||||
|
|
||||||
defp close_connection(:features_timeout, state_data) do
|
defp close_connection(:features_handshake_timeout, state_data) do
|
||||||
debug("connection terminated: Features handshake timed out")
|
debug("connection terminated: Features handshake timed out")
|
||||||
{:stop, :normal, %{state_data | socket: nil}}
|
{:stop, :normal, %{state_data | socket: nil}}
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue