chore: temporary seal

This commit is contained in:
gVisor bot 2023-11-19 13:26:53 +08:00
parent 5920728eae
commit ea5feefe4d

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,