1
0
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:
Darien Raymond
2018-08-25 22:23:30 +02:00
parent 66a391cafe
commit 5baf839fcf

View File

@@ -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
}