From 816ce8801e34f286dddb635566a693bd904c7c86 Mon Sep 17 00:00:00 2001 From: Malcolm Cumming Date: Fri, 5 Dec 2025 13:18:30 +0000 Subject: [PATCH] fix disconnect typo in connection return tuple --- lib/gel/connection.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gel/connection.ex b/lib/gel/connection.ex index 1c63c595..960b46b3 100644 --- a/lib/gel/connection.ex +++ b/lib/gel/connection.ex @@ -220,7 +220,7 @@ defmodule Gel.Connection do other -> message = "unexpected message from socket received during ping: #{inspect(other)}" - {:disconect, Gel.InternalClientError.new(message), state} + {:disconnect, Gel.InternalClientError.new(message), state} after 0 -> :ssl.setopts(state.socket, active: false) @@ -1548,7 +1548,7 @@ defmodule Gel.Connection do "unexpected Gel message received during ping: #{inspect(message)}" ) - {:disconect, exc, state} + {:disconnect, exc, state} end # if we haven't received state ID from Gel then pretend state is default