|
@@ -43,6 +43,10 @@ func init() {
|
|
crypto.DefaultSalt = "frp"
|
|
crypto.DefaultSalt = "frp"
|
|
// Disable quic-go's receive buffer warning.
|
|
// Disable quic-go's receive buffer warning.
|
|
os.Setenv("QUIC_GO_DISABLE_RECEIVE_BUFFER_WARNING", "true")
|
|
os.Setenv("QUIC_GO_DISABLE_RECEIVE_BUFFER_WARNING", "true")
|
|
|
|
+ // Disable quic-go's ECN support by default. It may cause issues on certain operating systems.
|
|
|
|
+ if os.Getenv("QUIC_GO_DISABLE_ECN") == "" {
|
|
|
|
+ os.Setenv("QUIC_GO_DISABLE_ECN", "true")
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
type cancelErr struct {
|
|
type cancelErr struct {
|