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 oss portion of ent #1069 (#10883) 2021-08-20 12:57:45 -04:00
resolver_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
service.go Allow passing ALPN next protocols down to connect services. Fixes #4466. (#9920) 2021-03-26 11:34:47 +00:00
service_test.go Update go version to 1.18.1 2022-04-18 11:41:10 -04:00
testing.go sdk/freeport: rename Port to GetOne 2021-11-30 17:32:41 -05:00
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