mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-10-18 03:54:05 +00:00
Update tailscale to v1.102.1
This commit is contained in:
@@ -49,7 +49,7 @@ import (
|
||||
"github.com/coder/websocket"
|
||||
"github.com/go-chi/render"
|
||||
"golang.org/x/net/http2"
|
||||
"golang.org/x/net/http2/h2c"
|
||||
"golang.org/x/net/http2/h2c" //nolint:staticcheck
|
||||
)
|
||||
|
||||
func Register(registry *boxService.Registry) {
|
||||
@@ -217,6 +217,7 @@ func (d *Service) Start(stage adapter.StartStage) error {
|
||||
}
|
||||
tcpListener = aTLS.NewListener(tcpListener, d.tlsConfig)
|
||||
httpServer := &http.Server{
|
||||
//nolint:staticcheck
|
||||
Handler: h2c.NewHandler(derpMux, &http2.Server{}),
|
||||
}
|
||||
go httpServer.Serve(tcpListener)
|
||||
|
||||
Reference in New Issue
Block a user