mirror of
https://github.com/SagerNet/sing-quic.git
synced 2025-04-03 20:07:39 +03:00
Fix initial MTU
This commit is contained in:
parent
5eccd25e3c
commit
bd48f62a7b
3 changed files with 5 additions and 19 deletions
|
@ -139,7 +139,7 @@ func newUDPPacketConn(ctx context.Context, quicConn quic.Connection, onDestroy f
|
|||
cancel: cancel,
|
||||
quicConn: quicConn,
|
||||
data: make(chan *udpMessage, 64),
|
||||
udpMTU: 1200,
|
||||
udpMTU: 1200 - 3,
|
||||
defragger: newUDPDefragger(),
|
||||
onDestroy: onDestroy,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue