chore: upgrade dependencies for hysteria

This commit is contained in:
Skyxim
2022-07-07 12:49:52 +08:00
parent 5b35822945
commit 60e1947ed2
5 changed files with 20 additions and 16 deletions

View File

@ -153,7 +153,7 @@ func NewHysteria(option HysteriaOption) (*Hysteria, error) {
MaxStreamReceiveWindow: uint64(option.ReceiveWindowConn),
InitialConnectionReceiveWindow: uint64(option.ReceiveWindow),
MaxConnectionReceiveWindow: uint64(option.ReceiveWindow),
KeepAlive: true,
KeepAlivePeriod: 10 * time.Second,
DisablePathMTUDiscovery: option.DisableMTUDiscovery,
EnableDatagrams: true,
}