Merge "Tune up TIMEOUTs of IPSec CTS for low end devices" am: 1de9621925 am: 8f501fea9c
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1498276 Change-Id: Ic59e6cbb0bdf11f1dc9cd62fe163ed3b0f28f485
This commit is contained in:
@@ -47,7 +47,7 @@ public class TunUtils {
|
||||
protected static final int IP6_PROTO_OFFSET = 6;
|
||||
|
||||
private static final int DATA_BUFFER_LEN = 4096;
|
||||
private static final int TIMEOUT = 1000;
|
||||
private static final int TIMEOUT = 2000;
|
||||
|
||||
private final List<byte[]> mPackets = new ArrayList<>();
|
||||
private final ParcelFileDescriptor mTunFd;
|
||||
|
||||
Reference in New Issue
Block a user