chore: temporary seal

This commit is contained in:
Larvan2 2023-11-19 13:26:53 +08:00
parent 3c088b33a2
commit 8efb699231

View file

@ -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,