mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-19 20:29:20 +07:00
feat: add meek (#258)
Co-authored-by: mzz <2017@duck.com> Co-authored-by: dae-bot[bot] <136105375+dae-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -8,6 +8,7 @@ package control
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/daeuniverse/softwind/transport/meek"
|
||||
"net"
|
||||
"net/netip"
|
||||
"os"
|
||||
@ -276,8 +277,9 @@ func NewControlPlane(
|
||||
}
|
||||
|
||||
// Filter out groups.
|
||||
// FIXME: Ugly code here: reset grpc clients manually.
|
||||
// FIXME: Ugly code here: reset grpc and meek clients manually.
|
||||
grpc.CleanGlobalClientConnectionCache()
|
||||
meek.CleanGlobalRoundTripperCache()
|
||||
dialerSet := outbound.NewDialerSetFromLinks(option, tagToNodeList)
|
||||
deferFuncs = append(deferFuncs, dialerSet.Close)
|
||||
for _, group := range groups {
|
||||
|
Reference in New Issue
Block a user