xtaci / kcp-go

A Crypto-Secure Reliable-UDP Library for golang with FEC
MIT License
4.12k stars 737 forks source link

fix: mtu limit #219

Open w-zz opened 2 years ago

w-zz commented 2 years ago

代码里mtu是1500的情况下,加上udp的包头,会超过网络层的mtu,导致ip层的分包。ip层分包传输是不可靠的,会降低kcp的可靠性