chore: temporary seal
This commit is contained in:
parent
3c088b33a2
commit
8efb699231
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue