mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
disable quic-go's receive buffer warning (#4063)
This commit is contained in:
parent
d5589213c5
commit
86c2ad78c8
3 changed files with 9 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
"net"
|
||||
"os"
|
||||
"runtime"
|
||||
"sync"
|
||||
"time"
|
||||
|
|
@ -40,6 +41,8 @@ import (
|
|||
|
||||
func init() {
|
||||
crypto.DefaultSalt = "frp"
|
||||
// Disable quic-go's receive buffer warning.
|
||||
os.Setenv("QUIC_GO_DISABLE_RECEIVE_BUFFER_WARNING", "true")
|
||||
}
|
||||
|
||||
type cancelErr struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue