Use TCP BBR in a best-effort mode

This small commits conditionally sets TCP BBR as a preferrable algorithm
for TCP congestion control
This commit is contained in:
9seconds
2026-04-07 14:54:56 +02:00
parent 83b43aecc1
commit 88f33debab
3 changed files with 28 additions and 0 deletions
+2
View File
@@ -28,5 +28,7 @@ func setCommonSocketOptions(conn *net.TCPConn) error {
return fmt.Errorf("cannot setup SO_REUSEADDR/PORT: %w", err)
}
setCongestionControl(rawConn)
return nil
}