mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
perf: use chan to communicate between tcpserver and tun
This commit is contained in:
@@ -135,7 +135,7 @@ var (
|
||||
// network layer ip needs 20 bytes
|
||||
// transport layer UDP header needs 8 bytes
|
||||
// UDP over TCP header needs 22 bytes
|
||||
DefaultMTU = 1500 - 20 - 8 - 21
|
||||
DefaultMTU = 65521
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user