TUN-8147: Disable ECN usage due to bugs in detecting if supported

This commit is contained in:
João Oliveirinha 2024-01-11 10:35:25 +00:00
parent c7b2cce131
commit 25f91fec10
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"math/rand" "math/rand"
"os"
"strings" "strings"
"time" "time"
@ -49,6 +50,9 @@ var (
) )
func main() { func main() {
// FIXME: TUN-8148: Disable QUIC_GO ECN due to bugs in proper detection if supported
os.Setenv("QUIC_GO_DISABLE_ECN", "1")
rand.Seed(time.Now().UnixNano()) rand.Seed(time.Now().UnixNano())
metrics.RegisterBuildInfo(BuildType, BuildTime, Version) metrics.RegisterBuildInfo(BuildType, BuildTime, Version)
maxprocs.Set() maxprocs.Set()