| 340 | } |
| 341 | |
| 342 | type socksProxy struct { |
| 343 | sync.Mutex |
| 344 | closed bool |
| 345 | proxy socks5.Server |
| 346 | ln net.Listener |
| 347 | clientConnAddrs map[string]bool // addrs of the local end of outgoing conns from proxy |
| 348 | } |
| 349 | |
| 350 | func (s *socksProxy) Start(t *testing.T) (url string) { |
| 351 | t.Helper() |
nothing calls this directly
no outgoing calls
no test coverage detected