open-consul/connect
Matt Keeler 4814733934
Fix race during proxy closing (#13283)
p.service is written to within the Serve method. The Serve method also waits for the stopChan to be closed.

The race was between Close being called on the proxy causing Close on the service which was written to around the same time in the Serve method.

The fix is to have Serve be responsible for closing p.service.
2022-05-27 16:52:03 -04:00
..
certgen
proxy Fix race during proxy closing (#13283) 2022-05-27 16:52:03 -04:00
example_test.go
resolver.go
resolver_test.go
service.go
service_test.go Update go version to 1.18.1 2022-04-18 11:41:10 -04:00
testing.go
tls.go Update go version to 1.18.1 2022-04-18 11:41:10 -04:00
tls_test.go Update go version to 1.18.1 2022-04-18 11:41:10 -04:00