diff --git a/transport/internet/kcp/connection.go b/transport/internet/kcp/connection.go index be9b8657..0b15a3a0 100644 --- a/transport/internet/kcp/connection.go +++ b/transport/internet/kcp/connection.go @@ -148,8 +148,6 @@ func (this *Connection) Write(b []byte) (int, error) { this.kcpAccess.Lock() nBytes := this.kcp.Send(b[totalWritten:]) if nBytes > 0 { - this.kcp.current = this.Elapsed() - this.kcp.flush() totalWritten += nBytes if totalWritten == len(b) { this.kcpAccess.Unlock()