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