mirror of
https://github.com/fatedier/frp.git
synced 2025-07-27 07:35:07 +00:00
disable quic-go's ECN support by default (#4069)
This commit is contained in:
@@ -63,6 +63,10 @@ const (
|
||||
func init() {
|
||||
// Disable quic-go's receive buffer warning.
|
||||
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")
|
||||
}
|
||||
}
|
||||
|
||||
// Server service
|
||||
|
Reference in New Issue
Block a user