mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-05 08:46:56 +08:00
tiny bug fix
This commit is contained in:
@@ -57,6 +57,7 @@ func (h *Handler) Handle(ctx context.Context, conn net.Conn) {
|
||||
if h.closing.Get() {
|
||||
// closing handler refuse new connection
|
||||
_ = conn.Close()
|
||||
return
|
||||
}
|
||||
|
||||
client := connection.NewConn(conn)
|
||||
|
Reference in New Issue
Block a user