mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-01-04 00:23:43 +08:00
chore: temporary seal
This commit is contained in:
parent
5920728eae
commit
ea5feefe4d
@ -102,9 +102,9 @@ func closeSingMux(s *SingMux) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func NewSingMux(option SingMuxOption, proxy C.ProxyAdapter, base ProxyBase) (C.ProxyAdapter, error) {
|
func NewSingMux(option SingMuxOption, proxy C.ProxyAdapter, base ProxyBase) (C.ProxyAdapter, error) {
|
||||||
if !mux.BrutalAvailable && option.BrutalOpts.Enabled {
|
// TODO
|
||||||
return nil, errors.New("TCP Brutal is only supported on Linux-based systems")
|
// "TCP Brutal is only supported on Linux-based systems"
|
||||||
}
|
|
||||||
singDialer := proxydialer.NewSingDialer(proxy, dialer.NewDialer(), option.Statistic)
|
singDialer := proxydialer.NewSingDialer(proxy, dialer.NewDialer(), option.Statistic)
|
||||||
client, err := mux.NewClient(mux.Options{
|
client, err := mux.NewClient(mux.Options{
|
||||||
Dialer: singDialer,
|
Dialer: singDialer,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user