From 18c311d82f96b6d229cad62e78d4e352c778fc81 Mon Sep 17 00:00:00 2001 From: 0-haha <65914167+0-haha@users.noreply.github.com> Date: Tue, 3 Oct 2023 02:29:42 +0000 Subject: [PATCH] fix the typo --- eventloop_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eventloop_unix.go b/eventloop_unix.go index f9f7c4a59..5b3e798af 100644 --- a/eventloop_unix.go +++ b/eventloop_unix.go @@ -123,7 +123,7 @@ func (el *eventloop) readTLS(c *conn) error { return el.close(c, nil) case Shutdown: c.tlsconn.DataDone() - return gerrors.ErrEngineShutdown + return errorx.ErrEngineShutdown } _, _ = c.inboundBuffer.Write(c.buffer) c.buffer = c.buffer[:0]