mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-04-26 23:49:08 -04:00
trace readv test
This commit is contained in:
@@ -2,6 +2,7 @@ package buf_test
|
||||
|
||||
import (
|
||||
"crypto/rand"
|
||||
"fmt"
|
||||
"net"
|
||||
"testing"
|
||||
|
||||
@@ -50,6 +51,7 @@ func TestReadvReader(t *testing.T) {
|
||||
t.Fatal("unexpected error: ", err)
|
||||
}
|
||||
rmb.AppendMulti(mb)
|
||||
fmt.Println("Len=", rmb.Len())
|
||||
if rmb.Len() == size {
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user