extend kcp timeout settings

pull/1132/head
Darien Raymond 7 years ago
parent 0e27fac290
commit e4254bbde9
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -784,7 +784,7 @@ func TestVMessKCP(t *testing.T) {
assert(err, IsNil) assert(err, IsNil)
assert(nBytes, Equals, len(payload)) 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(response, Equals, xor(payload))
assert(conn.Close(), IsNil) assert(conn.Close(), IsNil)
wg.Done() wg.Done()

Loading…
Cancel
Save