Compare commits

..

1 Commits

3 changed files with 1 additions and 9 deletions

View File

@ -0,0 +1 @@
No feature changes, just a fix for the issue of no released assets in version 0.55.0.

View File

@ -19,7 +19,6 @@ import (
"errors"
"fmt"
"net"
"os"
"runtime"
"sync"
"time"
@ -41,8 +40,6 @@ 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 {

View File

@ -22,7 +22,6 @@ import (
"io"
"net"
"net/http"
"os"
"strconv"
"time"
@ -60,11 +59,6 @@ const (
vhostReadWriteTimeout time.Duration = 30 * time.Second
)
func init() {
// Disable quic-go's receive buffer warning.
os.Setenv("QUIC_GO_DISABLE_RECEIVE_BUFFER_WARNING", "true")
}
// Server service
type Service struct {
// Dispatch connections to different handlers listen on same port