aboutsummaryrefslogtreecommitdiff
path: root/device/queueconstants_android.go
diff options
context:
space:
mode:
Diffstat (limited to 'device/queueconstants_android.go')
-rw-r--r--device/queueconstants_android.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/queueconstants_android.go b/device/queueconstants_android.go
index 3d80ead..25f700a 100644
--- a/device/queueconstants_android.go
+++ b/device/queueconstants_android.go
@@ -14,6 +14,6 @@ const (
QueueOutboundSize = 1024
QueueInboundSize = 1024
QueueHandshakeSize = 1024
- MaxSegmentSize = 2200
+ MaxSegmentSize = (1 << 16) - 1 // largest possible UDP datagram
PreallocatedBuffersPerPool = 4096
)