You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tcpCcOpt := tcpip.CongestionControlOption("cubic") // TCP CC is Reno by default
tcpipErr = dev.stack.SetTransportProtocolOption(tcp.ProtocolNumber, &tcpCcOpt)
if tcpipErr != nil {
return nil, nil, fmt.Errorf("could not set TCP CC Cubic: %v", tcpipErr)
}
Set gvisor tcp congestion control to cubic
amneziawg-go/tun/netstack/tun.go
Line 72 in e3f1273
Add
tcpCcOpt := tcpip.CongestionControlOption("cubic") // TCP CC is Reno by default
tcpipErr = dev.stack.SetTransportProtocolOption(tcp.ProtocolNumber, &tcpCcOpt)
if tcpipErr != nil {
return nil, nil, fmt.Errorf("could not set TCP CC Cubic: %v", tcpipErr)
}
amneziawg-go/tun/netstack/tun.go
Line 158 in e3f1273
change if pkt.IsNil() { to if pkt == nil {
To wireproxy speedup on high bandwidth high delayed connections
The text was updated successfully, but these errors were encountered: