Fix SOCKS5_ENABLED being ignored

This commit is contained in:
Quentin McGaw
2026-05-19 14:29:34 +00:00
parent 5cd7bc7f74
commit f021d8faf8
3 changed files with 28 additions and 1 deletions
+4
View File
@@ -32,6 +32,10 @@ func newServer(settings Settings) *server {
}
}
func (s *server) String() string {
return "SOCKS5 server"
}
func (s *server) Start(ctx context.Context) (runErr <-chan error, err error) {
s.socksConnCtx, s.socksConnCancel = context.WithCancel(context.Background())
config := &net.ListenConfig{}