diff --git a/internal/nodes/client_conn.go b/internal/nodes/client_conn.go index 4158a68..a229c5b 100644 --- a/internal/nodes/client_conn.go +++ b/internal/nodes/client_conn.go @@ -145,6 +145,10 @@ func (this *ClientConn) Read(b []byte) (n int, err error) { } func (this *ClientConn) Write(b []byte) (n int, err error) { + if len(b) == 0 { + return 0, nil + } + if this.isDebugging { this.lastWriteAt = time.Now().Unix()