1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-02-20 23:47:21 -05:00

extend kcp timeout settings

This commit is contained in:
Darien Raymond 2018-05-27 15:19:09 +02:00
parent 0e27fac290
commit e4254bbde9
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -784,7 +784,7 @@ func TestVMessKCP(t *testing.T) {
assert(err, IsNil)
assert(nBytes, Equals, len(payload))
response := readFrom(conn, time.Minute, 10240*1024)
response := readFrom(conn, time.Minute*2, 10240*1024)
assert(response, Equals, xor(payload))
assert(conn.Close(), IsNil)
wg.Done()