mirror of
https://github.com/yggdrasil-network/yggquic.git
synced 2025-05-19 16:35:09 +03:00
Use full MTU, disable PMTUD
This commit is contained in:
parent
b4e97a9289
commit
e8b9001573
1 changed files with 4 additions and 2 deletions
|
@ -57,6 +57,8 @@ func New(ygg *core.Core, cert tls.Certificate, qc *quic.Config) (*YggdrasilTrans
|
|||
qc = &quic.Config{
|
||||
HandshakeIdleTimeout: time.Second * 5,
|
||||
MaxIdleTimeout: time.Second * 60,
|
||||
InitialPacketSize: uint16(ygg.MTU()),
|
||||
DisablePathMTUDiscovery: true,
|
||||
}
|
||||
}
|
||||
tr := &YggdrasilTransport{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue